|
#define | _GNU_SOURCE |
|
#define | PRECHECK |
|
#define | GPLV2_BEATS_GPLV3 |
|
#define | SAVE_UNCLASSIFIED_LICENSES |
|
#define | myBUFSIZ 4096 |
| Buffer max length.
|
|
#define | MAX_RENAME 1000 |
| Max rename length.
|
|
#define | TEMP_FILE_LEN 100 |
| Max temp file length.
|
|
#define | MAX_SCANBYTES 1024*1024 |
|
#define | OPTS_DEBUG 0x1 |
|
#define | OPTS_TRACE_SWITCH 0x2 |
|
#define | OPTS_LONG_CMD_OUTPUT 0x4 |
|
#define | OPTS_HIGHLIGHT_STDOUT 0x8 |
|
#define | OPTS_NO_HIGHLIGHTINFO 0x10 |
|
#define | OPTS_JSON_OUTPUT 0x20 |
|
#define | OPTS_SCANNING_DIRECTORY 0x40 |
|
#define | FL_SAVEBASE 0x20 |
|
#define | FL_FRAGMENT 0x40 |
|
#define | FL_SHOWMATCH 0x80 |
|
#define | FL_NOCOPYRIGHT 0x100 |
|
#define | FILE_FOUND "Found.txt" |
|
#define | FILE_SCORES "_scores" |
|
#define | DEBUGLOG "/tmp/NomosDebugLog" |
|
#define | NO 0 |
|
#define | YES 1 |
|
#define | UNSORTED 0 |
|
#define | SORT_BY_NAME 1 |
|
#define | SORT_BY_NAME_ICASE 2 |
|
#define | SORT_BY_COUNT_DSC 3 |
|
#define | SORT_BY_COUNT_ASC 4 |
|
#define | SORT_BY_ALIAS 5 |
|
#define | SORT_BY_BASENAME 6 |
|
#define | IL_HIGH 3 |
|
#define | IL_MED 2 |
|
#define | IL_LOW 1 |
|
#define | IL_NONE 0 |
|
#define | IL_INIT -1 |
|
#define | LTSR_RMASK ((char) 1) |
|
#define | LTSR_SMASK ((char) 2) |
|
#define | LTSR_YES ((char) 3) |
|
#define | LTSR_NO LTSR_SMASK |
|
#define | STR_NOTPKG "None (not an rpm-format package)" |
|
#define | _scCOMFORT 9 |
|
#define | _scINVALID 4 |
|
#define | LS_NONE "None" |
|
#define | LS_UNLIKELY "LikelyNot" |
|
#define | LS_NOSUM "No_license_found" |
|
#define | LS_UNCL "UnclassifiedLicense" |
|
#define | LS_NOT_PD "NOT-public-domain" |
|
#define | LS_PD_CLM "Public-domain" |
|
#define | LS_PD_CPRT "Public-domain(C)" |
|
#define | LS_PD_ONLY "Public-domain-ref" |
|
#define | LS_CPRTONLY "Misc-Copyright" |
|
#define | LS_TDMKONLY "Trademark-ref" |
|
#define | LS_LICRONLY "License-ref" |
|
#define | LS_PATRONLY "Patent-ref" |
|
#define | NULL_ITEM (item_t *) NULL |
| NULL item.
|
|
#define | NULL_LIST (list_t *) NULL |
| NULL list.
|
|
#define | NULL_FH (fh_t *) NULL |
| NULL fh.
|
|
#define | NULL_CHAR '\0' |
| NULL character.
|
|
#define | NULL_STR (char *) NULL |
| NULL string.
|
|
#define | isEOL(x) (((x == '\n') || (x == '\r') || (x == '\v'))) |
| Check if x points to a EOL character. More...
|
|
#define | IS_HUGE(x) (x >= gl.blkUpperLimit) |
|
#define | NOMOS_TEMP "/tmp/nomos.tempdir" |
|
#define | NOMOS_TLOCK "/tmp/nomos.tempdir/.lock.tmp," |
|
#define | seqNo val |
|
#define | foundTool val |
|
#define | refCount val |
|
#define | num val |
|
#define | bStart val |
|
#define | iFlag val |
|
#define | ssComp val2 |
|
#define | isProcessed val2 |
|
#define | iLevel val2 |
|
#define | nMatch val2 |
|
#define | bLen val2 |
|
#define | bDocLen val3 |
|
#define | bIndex val3 |
|
#define | bList buf |
|
#define | _REGEX(x) licText[x].regex |
|
#define | _SEED(x) licText[x].tseed |
|
#define | MTAG_UNSORTKEY "list/str (initially-UNsorted key)" |
|
#define | MTAG_SORTKEY "list/str (initially-sorted key)" |
|
#define | MTAG_LISTKEY "list/str (sorted/unsorted key)" |
|
#define | MTAG_REPLKEY "list/str (replaced primary key)" |
|
#define | MTAG_LISTBUF "list/buf (any data)" |
|
#define | MTAG_PATHBASE "list/buf (path basename)" |
|
#define | MTAG_PKGINFO "list/buf (pkg rname/type/name/vers/lic)" |
|
#define | MTAG_PKG_NV "list/buf (pkg name/vers)" |
|
#define | MTAG_MD5SUM "list/buf (distro-arch MD5SUM)" |
|
#define | MTAG_COUNTER "list/buf integer (counter)" |
|
#define | MTAG_PKGNAME "list/buf (package-name)" |
|
#define | MTAG_PKGVERS "list/buf (package-vers)" |
|
#define | MTAG_CLAIMLIC "list/buf (claimlic copy)" |
|
#define | MTAG_COMPLIC "list/buf (pkg compLic copy)" |
|
#define | MTAG_URLCOPY "list/buf (pkg URL copy)" |
|
#define | MTAG_FILELIC "list/buf (file-license copy)" |
|
#define | MTAG_FIXNAME "list/buf (fixed-package name)" |
|
#define | MTAG_SEEDTEXT "search-seed text" |
|
#define | MTAG_SRCHTEXT "license-search text" |
|
#define | MTAG_MMAPFILE "mmap-file data" |
|
#define | MTAG_MAGICDATA "file magic description" |
|
#define | MTAG_PATTRS "pkg-attr buffer" |
|
#define | MTAG_DOUBLED "doubled (reallocated) data" |
|
#define | MTAG_SEARCHBUF "initial search-data buffer" |
|
#define | MTAG_TOOSMALL "too-small half-size buffer" |
|
#define | MTAG_TEXTPARA "paragraph text" |
|
#define | MTAG_LIST "dynamically-allocated list" |
|
#define | MTAG_ENV "environment variable" |
|
#define | MTAG_SCANRES "scan-results list" |
|
#define | memFree(x, y) free(x) |
|
#define | memAlloc(x, y) calloc(x, 1) |
|
#define | DECL_TIMER struct timeval bTV, eTV; float proctime |
|
#define | ZERO_TIMER memcpy((void *) &bTV, (void *) &eTV, sizeof(eTV)) |
|
#define | RESET_TIMER END_TIMER; ZERO_TIMER |
|
#define | START_TIMER RECORD_TIMER(bTV) |
|
#define | END_TIMER |
|
#define | RECORD_TIMER(x) (void) gettimeofday(&x, (struct timezone *) NULL) |
|
#define | PRINT_TIMER(x, y) |
|
#define | DUMP_TIMERS |
|
Nomos header file.
Definition in file nomos.h.