FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
curScan Struct Reference

Struct that tracks state related to current file being scanned. More...

#include <nomos.h>

Collaboration diagram for curScan:
Collaboration graph

Public Attributes

char cwd [myBUFSIZ]
 
char targetDir [myBUFSIZ]
 
char targetFile [myBUFSIZ]
 
char filePath [myBUFSIZ]
 
long pFileFk
 
char pFile [myBUFSIZ]
 
char * licPara
 
char * matchBase
 
size_t targetLen
 
size_t cwdLen
 
struct stat stbuf
 
regmatch_t regm
 
list_t regfList
 
list_t fLicFoundMap
 
list_t parseList
 
list_t offList
 
list_t lList
 
char compLic [myBUFSIZ]
 
int nLines
 
int cliMode
 
char * tmpLics
 
char * licenseList [512]
 
GArray * indexList
 
GArray * theMatches
 
GArray * keywordPositions
 
GArray * docBufferPositionsAndOffsets
 
int currentLicenceIndex
 

Detailed Description

Struct that tracks state related to current file being scanned.

curScan

Definition at line 404 of file nomos.h.

Member Data Documentation

int curScan::cliMode

boolean to indicate running from command line

Definition at line 425 of file nomos.h.

char curScan::compLic[myBUFSIZ]

the license(s) found, None or NotLikely. comma separated if multiple names are found.

Definition at line 422 of file nomos.h.

char curScan::cwd[myBUFSIZ]

CDB, Would like to workaround and eliminate.

Definition at line 405 of file nomos.h.

char curScan::filePath[myBUFSIZ]

the original file path passed in

Definition at line 408 of file nomos.h.

GArray* curScan::indexList

List of license indexes

Definition at line 429 of file nomos.h.

GArray* curScan::keywordPositions

List of matche positions

Definition at line 431 of file nomos.h.

char* curScan::licenseList[512]

list of license names found, can be a single name

Definition at line 427 of file nomos.h.

char curScan::pFile[myBUFSIZ]

[in] pfilename from scheduler

Definition at line 410 of file nomos.h.

long curScan::pFileFk

[in] pfile_fk from scheduler

Definition at line 409 of file nomos.h.

char curScan::targetDir[myBUFSIZ]

Directory where file is

Definition at line 406 of file nomos.h.

char curScan::targetFile[myBUFSIZ]

File we're scanning (tmp file)

Definition at line 407 of file nomos.h.

GArray* curScan::theMatches

List of matches

Definition at line 430 of file nomos.h.

char* curScan::tmpLics

pointer to storage for parsed names

Definition at line 426 of file nomos.h.


The documentation for this struct was generated from the following file: