File indexing completed on 2024-05-19 05:42:35

0001 PKG_LIST = [
0002     'x86_64-linux-gnu',
0003     'asm-generic',
0004     'c++',
0005     'netinet',
0006     'arpa',
0007     'net',
0008     'linux',
0009     'clang',
0010     'rpc',
0011 ]
0012 FILE_LIST = [
0013     'alloca.h',
0014     'assert.h',
0015     'features.h',
0016     'stdc-predef.h',
0017     'stdio.h',
0018     'stdlib.h',
0019     'wchar.h',
0020     'endian.h',
0021     'pthread.h',
0022     'sched.h',
0023     'time.h',
0024     'strings.h',
0025     'ctype.h',
0026     'errno.h',
0027     'limits.h',
0028     'stdint.h',
0029     'string.h',
0030     'locale.h',
0031     'wctype.h',
0032     'math.h',
0033     'signal.h',
0034     'termios.h',
0035     'unistd.h',
0036     'dirent.h',
0037     'fcntl.h',
0038     'grp.h',
0039     'pwd.h',
0040     'fcntl.h',
0041     'libintl.h',
0042     'zlib.h',
0043     'zconf.h',
0044     'poll.h',
0045     'inttypes.h',
0046     'netdb.h',
0047     'crypt.h',
0048 ]
0049 
0050 def accept(path):
0051     for pkgName in PKG_LIST:
0052         if f'/{pkgName}/' in path:
0053             return True
0054     for fileName in FILE_LIST:
0055         if fileName in path:
0056             return True
0057     return False
0058 
0059 
0060 def process(path, addPkg):
0061     pkgName = "SystemLibraries"
0062     addPkg(pkgName, None, None, None)
0063     return pkgName
0064