FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
#include "buckets.h"
Go to the source code of this file.
Functions | |
FUNCTION int * | getContainerBuckets (PGconn *pgConn, pbucketdef_t bucketDefArray, int uploadtree_pk) |
Given a container uploadtree_pk and bucketdef, determine what buckets the container is in. More... | |
Variables | |
int | debug |
Process bucket containers
Definition in file container.c.
FUNCTION int* getContainerBuckets | ( | PGconn * | pgConn, |
pbucketdef_t | bucketDefArray, | ||
int | uploadtree_pk | ||
) |
Given a container uploadtree_pk and bucketdef, determine what buckets the container is in.
A container is in all the buckets of its children (recursive).
This function is also called for no-pfile artifacts to simplify the recursion in walkTree().
pgConn | postgresql connection |
bucketDefArray | bucket |
uploadtree_pk | Upload tree id to be check |
Definition at line 36 of file container.c.