FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
This file contains common functions for the package agent. More...
Go to the source code of this file.
Functions | |
GetPkgMimetypes () | |
Get package mimetype. More... | |
IncrSrcBinCounts ($uploadtree_row, $MimetypeArray, &$NumSrcPkgs, &$NumBinPkgs, &$NumBinNoSrcPkgs) | |
Increment counts of source package, binary package, and binary with no source. More... | |
This file contains common functions for the package agent.
Definition in file common-pkg.php.
GetPkgMimetypes | ( | ) |
Get package mimetype.
Definition at line 22 of file common-pkg.php.
IncrSrcBinCounts | ( | $uploadtree_row, | |
$MimetypeArray, | |||
& | $NumSrcPkgs, | ||
& | $NumBinPkgs, | ||
& | $NumBinNoSrcPkgs | ||
) |
Increment counts of source package, binary package, and binary with no source.
array | $uploadtree_row | Uploadtree row + pfile_mimetypefk | |
array | $MimetypeArray | Assoc array of mimetype names and mimetype_pk (from GetPkgMimetypes) | |
[out] | int | &$NumSrcPkgs | Incremented if this is a source package |
[out] | int | &$NumBinPkgs | Incremented if this is a binary package |
[out] | int | &$NumBinNoSrcPkgs | Incremented if this binary pkg has no source package |
Definition at line 60 of file common-pkg.php.