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

Contains global declaration of variables. More...

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

Go to the source code of this file.

Variables

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

Detailed Description

Contains global declaration of variables.

Definition in file ununpack_globals.h.

Variable Documentation

◆ MagicCookie

magic_t MagicCookie = 0

for Magic

Magic Cookie.

Definition at line 47 of file ununpack_globals.h.

◆ pgConn

PGconn* pgConn = NULL

Database connection.

DB connection.

Database connection.

Definition at line 43 of file ununpack_globals.h.

◆ SQL

char SQL[MAXSQL]

For DB.

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 45 of file ununpack_globals.h.

◆ uploadtree_tablename

char uploadtree_tablename[19]

upload.uploadtree_tablename

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

Definition at line 46 of file ununpack_globals.h.

◆ Verbose

int Verbose =0

Verbose level for log.

Global verbose level.

Verbose level.

Contains all the functions supported by delagent

Verbosity level

Definition at line 20 of file ununpack_globals.h.