FOSSology  4.4.0
Open Source License Compliance by Open Source Software
child.c File Reference
#include "buckets.h"
Include dependency graph for child.c:

Go to the source code of this file.

Functions

FUNCTION int childInBucket (PGconn *pgConn, pbucketdef_t bucketDef, puploadtree_t puploadtree)
 Given a container uploadtree_pk and bucketdef, determine if any child is in this bucket. More...
 

Variables

int debug
 

Function Documentation

◆ childInBucket()

FUNCTION int childInBucket ( PGconn *  pgConn,
pbucketdef_t  bucketDef,
puploadtree_t  puploadtree 
)

Given a container uploadtree_pk and bucketdef, determine if any child is in this bucket.

Parameters
pgConnpostgresql connection
bucketDefBucket
puploadtreeUpload tree element to parse
Returns
1 if child is in this bucket, 0 not in bucket, -1 error

Definition at line 26 of file child.c.

Variable Documentation

◆ debug

int debug
extern

Print debug messages

Definition at line 57 of file buckets.c.