30 extern void memStats();
33 #define BOGUS_MD5 "wwww0001xxxx0002yyyy0004zzzz0008" 45 #if defined(PROC_TRACE) || defined(UNPACK_DEBUG) 46 traceFunc(
"== processNonPackagedFiles()\n");
57 if (!cur.regfList.
used) {
81 void stripLine(
char *textp,
int offset,
int size)
87 traceFunc(
"== stripLine(%s, %d, %d)\n", textp, offset, size);
97 printf(
"Textp %p start %p end %p\n", textp, start, end);
98 printf(
"@START(%d): %s", strlen(start), start);
99 printf(
"@END+1(%d): %s", strlen(end+1), end+1);
106 printf(
"MOVE %d bytes\n", size-(end-textp));
108 (void) memmove(start, (
char *)(end+1),
109 (
size_t)((size)-(end-textp)));
112 printf(
"FINISH: @START(%d): %s", strlen(start), start);
128 traceFunc(
"== processRawSource()\n");
150 traceFunc(
"== processRegularFiles()\n");
void processRegularFiles()
Process a list of regular files.
void licenseScan(list_t *licenseList)
scan the list for a license(s)
static void processNonPackagedFiles()
item_t * listGetItem(list_t *l, char *s)
get an item from the itemlist. If the item is not in the itemlist, then add it to the itemlist...
#define NULL_CHAR
NULL character.
void Assert(int fatalFlag, const char *fmt,...)
Raise an assert.
start($application)
start the application Assumes application is restartable via /etc/init.d/<script>. The application passed in should match the script name in /etc/init.d
#define NULL_STR
NULL string.
char * findEol(char *s)
Find first ROL in a string.
void listDump(list_t *l, int verbose)
print the passed in list
char * findBol(char *s, char *upperLimit)
Find Begin of Line in a string.