82 char priority[MAXCMD];
85 char maintainer[MAXCMD];
86 char homepage[MAXCMD];
93 char uploaders[MAXCMD];
95 char standardsVersion[MAXCMD];
113 void Usage(
char *Name);
115 char *
GetFieldValue(
char *Sin,
char *Field,
int FieldMax,
char *Value,
int ValueMax,
char Separator);
char ** depends
Package dependency list.
int installedSize
Size of package after install.
int GetMetadata(char *pkg, struct rpmpkginfo *pi)
Get RPM package info.
char pFile[MAXCMD]
Package pfile hash.
PGconn * db_conn
the connection to Database
long pFileFk
Package pfile in FOSSology.
char description[MAXCMD]
Package description.
int RecordMetadataDEB(struct debpkginfo *pi)
Store debian package info into database.
char packager[1024]
Packager.
char buildDate[128]
Package build date.
int RecordMetadataRPM(struct rpmpkginfo *pi)
Store rpm package info into database.
int dep_size
Package dependency list size.
char sourceRPM[256]
Package source.
char pkgName[256]
RPM package name.
Holds meta info of rpm packages.
char version[64]
Package version.
Holds meta info of Debian packages.
int GetMetadataDebSource(char *repFile, struct debpkginfo *pi)
Get debian source package info from .dsc file.
void Usage(char *Name)
Say how to run this program.
char ** requires
Package dependency list.
int GetMetadataDebBinary(long upload_pk, struct debpkginfo *pi)
Get debian binary package info.
char summary[MAXCMD]
Package summary.
int Verbose
Verbose level.
The main FOSSology C library.
char pkgAlias[256]
Package alias.
char pkgArch[64]
Package architecture.
char rpmFilename[256]
RPM file name.
int ProcessUpload(long upload_pk)
Get all pfile need to processed use upload_pk.
char vendor[128]
Package vendor.
char group[128]
Package group.
char release[64]
Package release.
char url[256]
Package link.
char * GetFieldValue(char *Sin, char *Field, int FieldMax, char *Value, int ValueMax, char Separator)
Given a string that contains field='value' pairs, save the items.
int req_size
Package dependency list size.
long pFileFk
Package pfile in FOSSology.