FOSSology  4.4.0
Open Source License Compliance by Open Source Software
externs.h File Reference

Stores all extern variables used by the agent. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

cmdlist CMD []
 Global command table.
 
int Verbose
 Global verbose level. More...
 
int Quiet
 Run in quiet mode?
 
int UnlinkSource
 Remove recursive sources after unpacking?
 
int UnlinkAll
 Remove ALL unpacked files when done (clean up)?
 
int ForceContinue
 Force continue when unpack tool fails?
 
int ForceDuplicate
 When using db, should it process duplicates?
 
int IgnoreSCMData
 1: Ignore SCM data, 0: dont ignore it.
 
int PruneFiles
 Remove links? >1 hard links, zero files, etc.
 
int SetContainerArtifact
 Should initial container be an artifact?
 
FILE * ListOutFile
 File to store unpack list.
 
int ReunpackSwitch
 Set if the uploadtree records are missing from db.
 
int UseRepository
 Using files from the repository?
 
char REP_GOLD [16]
 Gold repository name.
 
char REP_FILES [16]
 Files repository name.
 
char UploadFileName [FILENAME_MAX]
 Upload file name.
 
char * Pfile
 Pfile name (SHA1.MD5.Size)
 
char * Pfile_Pk
 Pfile pk in DB.
 
char * Upload_Pk
 Upload pk in DB.
 
PGconn * pgConn
 DB connection. More...
 
int agent_pk
 Agent pk in DB.
 
char SQL [MAXSQL]
 SQL query to execute. More...
 
char uploadtree_tablename [19]
 upload.uploadtree_tablename More...
 
magic_t MagicCookie
 Magic Cookie. More...
 
unpackqueue Queue [MAXCHILD+1]
 Manage children.
 
int MaxThread
 Value between 1 and MAXCHILD.
 
int Thread
 Number of threads in execution.
 
long TotalItems
 Number of records inserted.
 
int TotalFiles
 Number of regular files.
 
int TotalCompressedFiles
 Number of compressed files.
 
int TotalDirectories
 Number of directories.
 
int TotalContainers
 Number of containers.
 
int TotalArtifacts
 Number of artifacts.
 

Detailed Description

Stores all extern variables used by the agent.

Definition in file externs.h.

Variable Documentation

◆ MagicCookie

magic_t MagicCookie
extern

Magic Cookie.

Magic Cookie.

Definition at line 23 of file finder.c.

◆ pgConn

PGconn* pgConn
extern

DB connection.

DB connection.

DB connection.

Database connection.

Definition at line 86 of file adj2nest.c.

◆ SQL

char SQL[MAXSQL]
extern

SQL query to execute.

SQL query to execute.

SQL query to execute.

Are there any jobs running?

usage: $ck4j = new check4jobs(); $count = $ck4j->getJobCount; $count = $ck4j->Check;

NOTE: this program depends on the UI testing infrastructure at this point.

Returns
boolean (TRUE or FALSE)
Version
"$Id: $"

@TODO add method documentation @TODO create a subclass for doing longer waits (CheckandWait?)

Created on Jan. 15, 2009

Definition at line 78 of file adj2nest.c.

◆ uploadtree_tablename

char uploadtree_tablename[19]
extern

upload.uploadtree_tablename

Name of DB table (uploadtree, uploadtree_a,...)

Definition at line 100 of file adj2nest.c.

◆ Verbose

int Verbose
extern

Global verbose level.

Global verbose level.

Contains all the functions supported by delagent

Global verbose level.

Verbosity level

Global verbose level.

Contains all the functions supported by delagent

Verbosity level

Global verbose level.

Verbose level.

Contains all the functions supported by delagent

Verbosity level

Definition at line 19 of file util.c.