\hypertarget{ql__lib_8dox_8h_source}{}\doxysection{ql\+\_\+lib.\+dox.\+h}

\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{3 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespace_qore}{Qore}} \{}
\DoxyCodeLine{5 }
\DoxyCodeLine{7 \textcolor{keyword}{struct }\mbox{\hyperlink{struct_qore_1_1_net_if_info}{NetIfInfo}} \{}
\DoxyCodeLine{9     *\textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_net_if_info_a4fc12d195f938157631353016b9bfc8a}{address}};}
\DoxyCodeLine{11     *\textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_net_if_info_aadcd8cc7a39cfea1de4a4330d642cb0f}{address\_desc}};}
\DoxyCodeLine{13     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_net_if_info_a4c5f8a483539177f31cb7d224279b228}{family}};}
\DoxyCodeLine{15     \textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_net_if_info_a68ad1fa2b3b50c94fbee3b81bb17eab5}{familystr}};}
\DoxyCodeLine{17     \textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_net_if_info_a7ffd71bce1084e6a7a0baf307bc7f880}{interface}};}
\DoxyCodeLine{18 \};}
\DoxyCodeLine{19 \}}
\DoxyCodeLine{20 }
\DoxyCodeLine{22 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespace_qore}{Qore}} \{}
\DoxyCodeLine{24 }
\DoxyCodeLine{26 \textcolor{keyword}{struct }\mbox{\hyperlink{struct_qore_1_1_exception_info}{ExceptionInfo}} \{}
\DoxyCodeLine{28     \textcolor{keyword}{auto} \mbox{\hyperlink{struct_qore_1_1_exception_info_a263cbf6331936eaedf61549c8cd077e1}{arg}};}
\DoxyCodeLine{30     list<hash<CallStackInfo>> \mbox{\hyperlink{struct_qore_1_1_exception_info_a07f044030191825ecfa0cd3e79b2f45f}{callstack}};}
\DoxyCodeLine{32     \textcolor{keyword}{auto} \mbox{\hyperlink{struct_qore_1_1_exception_info_a2a62f56f63533adb2b58c1564c843ff6}{desc}};}
\DoxyCodeLine{34     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_exception_info_ab347bc716734b7e161b8fb78fb8fd06b}{endline}};}
\DoxyCodeLine{36     \textcolor{keyword}{auto} \mbox{\hyperlink{struct_qore_1_1_exception_info_a56e4bb05d9123988773c291e9ad7bbfb}{err}};}
\DoxyCodeLine{38     \textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_exception_info_a8722f9f24d80f48f00d2b42512d884cb}{file}};}
\DoxyCodeLine{40     \textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_exception_info_ac25fc801f30ff4d6638177600e0f7a8e}{lang}};}
\DoxyCodeLine{42     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_exception_info_a62d82662a0fa414764ad5ddd2d2c5075}{line}};}
\DoxyCodeLine{44     hash<ExceptionInfo> \mbox{\hyperlink{struct_qore_1_1_exception_info_a10220ed5a79445be81bfb377c166f7a1}{next}};}
\DoxyCodeLine{46     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_exception_info_a3f928674aa77f0e2a4df65bbed28c80e}{offset}};}
\DoxyCodeLine{48     \textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_exception_info_a9852e08908852f97f227786b58d8371e}{source}};}
\DoxyCodeLine{50     \textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_exception_info_ac1fa44325ded882f0eda1572361870f9}{type}};}
\DoxyCodeLine{51 \};}
\DoxyCodeLine{52 \}}
\DoxyCodeLine{53 }
\DoxyCodeLine{55 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespace_qore}{Qore}} \{}
\DoxyCodeLine{140 }
\DoxyCodeLine{142 }
\DoxyCodeLine{154 nothing \mbox{\hyperlink{group__library__functions_ga4a51c4086a24e58fdeafe467d8188fbf}{abort}}();}
\DoxyCodeLine{155 }
\DoxyCodeLine{157 }
\DoxyCodeLine{171 \textcolor{keywordtype}{string} \mbox{\hyperlink{group__library__functions_ga0d6ab2c29ebf1ce62d34530d4a5be37c}{basename}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{172 }
\DoxyCodeLine{174 }
\DoxyCodeLine{178 nothing \mbox{\hyperlink{group__library__functions_ga0d6ab2c29ebf1ce62d34530d4a5be37c}{basename}}();}
\DoxyCodeLine{179 }
\DoxyCodeLine{181 }
\DoxyCodeLine{197 nothing \mbox{\hyperlink{group__library__functions_gab6595c1e20c2e84bea8a17544ec35a7f}{close\_all\_fd}}(\_\_7\_ softbool strd);}
\DoxyCodeLine{198 }
\DoxyCodeLine{200 }
\DoxyCodeLine{214 \textcolor{keywordtype}{string} \mbox{\hyperlink{group__library__functions_ga4b79aceed8fba8255b64024aaa0b193c}{dirname}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{215 }
\DoxyCodeLine{217 }
\DoxyCodeLine{221 nothing \mbox{\hyperlink{group__library__functions_ga4b79aceed8fba8255b64024aaa0b193c}{dirname}}();}
\DoxyCodeLine{222 }
\DoxyCodeLine{224 }
\DoxyCodeLine{234 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_gabcf45c25ca1234fc8c54761750324cda}{errno}}();}
\DoxyCodeLine{235 }
\DoxyCodeLine{237 }
\DoxyCodeLine{247 nothing \mbox{\hyperlink{group__library__functions_ga62b13320abd1919d456e2cb84390b0b2}{exec}}(\textcolor{keywordtype}{string} command);}
\DoxyCodeLine{248 }
\DoxyCodeLine{250 }
\DoxyCodeLine{262 nothing \mbox{\hyperlink{group__library__functions_ga3ec32747f455642fd9ce503094a5cc85}{exit}}(softint rc = 0);}
\DoxyCodeLine{263 }
\DoxyCodeLine{265 }
\DoxyCodeLine{293 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_ga38309c0ab1c849afc031dd8547b1ac65}{fork}}();}
\DoxyCodeLine{294 }
\DoxyCodeLine{296 }
\DoxyCodeLine{349 list<hash<NetIfInfo>> \mbox{\hyperlink{group__library__functions_gae0203299fb2f3aaf805af92ada527afc}{get\_netif\_list}}();}
\DoxyCodeLine{350 }
\DoxyCodeLine{352 }
\DoxyCodeLine{374 list<hash<auto>> \mbox{\hyperlink{group__library__functions_ga30a65bf8f992dd435b05f92c3fa734e5}{getaddrinfo}}(\_\_7\_ \textcolor{keywordtype}{string} node, \_\_7\_ softstring service, softint family = \mbox{\hyperlink{group__network__address__family__constants_gac4f81abe9d374562b41117c51950fb80}{AF\_UNSPEC}}, softint flags = 0);}
\DoxyCodeLine{375 }
\DoxyCodeLine{377 }
\DoxyCodeLine{391 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_ga4195fddb23078a08e36088c5b9da1c63}{getegid}}();}
\DoxyCodeLine{392 }
\DoxyCodeLine{394 }
\DoxyCodeLine{408 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_gae504e6dff1aa04fab954b492830df193}{geteuid}}();}
\DoxyCodeLine{409 }
\DoxyCodeLine{411 }
\DoxyCodeLine{425 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_gae45b3134a21e8efc465c469bbe6b58d7}{getgid}}();}
\DoxyCodeLine{426 }
\DoxyCodeLine{428 }
\DoxyCodeLine{444 list<int> \mbox{\hyperlink{group__library__functions_gab6402f7bc808e017708f4e1e35e2ca2d}{getgroups}}();}
\DoxyCodeLine{445 }
\DoxyCodeLine{447 }
\DoxyCodeLine{471 \_\_7\_ \textcolor{keywordtype}{string} \mbox{\hyperlink{group__library__functions_ga7a7e2b5705964d0180b42dc8707e6090}{gethostbyaddr}}(\textcolor{keywordtype}{string} addr, softint \mbox{\hyperlink{group__type__conversion__functions_ga181e32c9bc8075431e88bb9bb56285a9}{type}} = \mbox{\hyperlink{group__network__address__family__constants_gad33bf2a0a393d1100099acfb6ca644e2}{AF\_INET}});}
\DoxyCodeLine{472 }
\DoxyCodeLine{474 }
\DoxyCodeLine{478 nothing \mbox{\hyperlink{group__library__functions_ga7a7e2b5705964d0180b42dc8707e6090}{gethostbyaddr}}();}
\DoxyCodeLine{479 }
\DoxyCodeLine{481 }
\DoxyCodeLine{505 \_\_7\_ hash<auto> \mbox{\hyperlink{group__library__functions_gab2e7951ad5d39a0e735702d2ceaa3e90}{gethostbyaddr\_long}}(\textcolor{keywordtype}{string} addr, softint \mbox{\hyperlink{group__type__conversion__functions_ga181e32c9bc8075431e88bb9bb56285a9}{type}} = \mbox{\hyperlink{group__network__address__family__constants_gad33bf2a0a393d1100099acfb6ca644e2}{AF\_INET}});}
\DoxyCodeLine{506 }
\DoxyCodeLine{508 }
\DoxyCodeLine{512 nothing \mbox{\hyperlink{group__library__functions_gab2e7951ad5d39a0e735702d2ceaa3e90}{gethostbyaddr\_long}}();}
\DoxyCodeLine{513 }
\DoxyCodeLine{515 }
\DoxyCodeLine{534 \_\_7\_ \textcolor{keywordtype}{string} \mbox{\hyperlink{group__library__functions_gab94736fbd3118f66eaa40c9ceb7d06ae}{gethostbyname}}(\textcolor{keywordtype}{string} name);}
\DoxyCodeLine{535 }
\DoxyCodeLine{537 }
\DoxyCodeLine{541 nothing \mbox{\hyperlink{group__library__functions_gab94736fbd3118f66eaa40c9ceb7d06ae}{gethostbyname}}();}
\DoxyCodeLine{542 }
\DoxyCodeLine{544 }
\DoxyCodeLine{563 \_\_7\_ hash<auto> \mbox{\hyperlink{group__library__functions_gace5c385a0af1e9b227618b94b2ccd2cf}{gethostbyname\_long}}(\textcolor{keywordtype}{string} name);}
\DoxyCodeLine{564 }
\DoxyCodeLine{566 }
\DoxyCodeLine{570 nothing \mbox{\hyperlink{group__library__functions_gace5c385a0af1e9b227618b94b2ccd2cf}{gethostbyname\_long}}();}
\DoxyCodeLine{571 }
\DoxyCodeLine{573 }
\DoxyCodeLine{586 \textcolor{keywordtype}{string} \mbox{\hyperlink{group__library__functions_ga8bd938f03b1a6edb02b2a9970f5c8dda}{gethostname}}();}
\DoxyCodeLine{587 }
\DoxyCodeLine{589 }
\DoxyCodeLine{602 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_ga5eb17bd4d23498ef42ba908d328421ce}{getpid}}();}
\DoxyCodeLine{603 }
\DoxyCodeLine{605 }
\DoxyCodeLine{622 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_ga28a69151eb051b67a5190a9570d35603}{getppid}}();}
\DoxyCodeLine{623 }
\DoxyCodeLine{625 }
\DoxyCodeLine{639 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_gaa7cce69c66cbc6f183fa71931cdfc466}{getuid}}();}
\DoxyCodeLine{640 }
\DoxyCodeLine{642 }
\DoxyCodeLine{663 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_gadf633e4d1be4ca6a24b58e5964b14070}{kill}}(softint pid, softint sig = \mbox{\hyperlink{group__signal__constants_ga1a9d023101a217b83525ea6e2f7581cf}{SIGHUP}});}
\DoxyCodeLine{664 }
\DoxyCodeLine{666 }
\DoxyCodeLine{673 nothing \mbox{\hyperlink{group__library__functions_gadf633e4d1be4ca6a24b58e5964b14070}{kill}}();}
\DoxyCodeLine{674 }
\DoxyCodeLine{676 }
\DoxyCodeLine{685 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_gac7494d18fbf6edfad9bec02c31455e2b}{qore\_get\_library\_options}}();}
\DoxyCodeLine{686 }
\DoxyCodeLine{688 }
\DoxyCodeLine{700 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_ga9a72550004b28a5c05b45afc196a037c}{qore\_set\_library\_options}}(\textcolor{keywordtype}{int} opts);}
\DoxyCodeLine{701 }
\DoxyCodeLine{703 }
\DoxyCodeLine{720 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_ga6ed36f08f41864dfe007504e8b4ff5c3}{rand}}();}
\DoxyCodeLine{721 }
\DoxyCodeLine{723 }
\DoxyCodeLine{740 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_ga978d06ec48b315287cd514601645e21b}{setegid}}(softint gid);}
\DoxyCodeLine{741 }
\DoxyCodeLine{743 }
\DoxyCodeLine{760 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_ga6bc0ecedb69f16a65b91bbb15d281446}{seteuid}}(softint uid);}
\DoxyCodeLine{761 }
\DoxyCodeLine{763 }
\DoxyCodeLine{780 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_ga643d15328846a7d64139c34a29efe53b}{setgid}}(softint gid);}
\DoxyCodeLine{781 }
\DoxyCodeLine{783 }
\DoxyCodeLine{799 nothing \mbox{\hyperlink{group__library__functions_gaac8ec21015bc2dc8970cad98a1c6586c}{setgroups}}(softlist<softint> gids);}
\DoxyCodeLine{800 }
\DoxyCodeLine{802 }
\DoxyCodeLine{815 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_ga6274ab755dee8ae955d48271d9a44676}{setsid}}();}
\DoxyCodeLine{816 }
\DoxyCodeLine{818 }
\DoxyCodeLine{835 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_gad740d1b241a725df36965aa2bfb50231}{setuid}}(softint uid);}
\DoxyCodeLine{836 }
\DoxyCodeLine{838 }
\DoxyCodeLine{852 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_gab828a9624ba2903b88ae4d52bf6094d9}{sleep}}(softint \mbox{\hyperlink{group__date__and__time__functions_gad7edd4b61aca5344ad2dd94b23c934d7}{seconds}});}
\DoxyCodeLine{853 }
\DoxyCodeLine{855 }
\DoxyCodeLine{862 nothing \mbox{\hyperlink{group__library__functions_gab828a9624ba2903b88ae4d52bf6094d9}{sleep}}();}
\DoxyCodeLine{863 }
\DoxyCodeLine{865 }
\DoxyCodeLine{881 nothing \mbox{\hyperlink{group__library__functions_gae6dd9a1ccae25a097d61cf0575161075}{srand}}(softint seed);}
\DoxyCodeLine{882 }
\DoxyCodeLine{884 }
\DoxyCodeLine{891 nothing \mbox{\hyperlink{group__library__functions_gae6dd9a1ccae25a097d61cf0575161075}{srand}}();}
\DoxyCodeLine{892 }
\DoxyCodeLine{894 }
\DoxyCodeLine{907 \textcolor{keywordtype}{string} \mbox{\hyperlink{group__library__functions_gadfdbab96958d3623d431a7ab292d7e27}{strerror}}(softint err);}
\DoxyCodeLine{908 }
\DoxyCodeLine{910 }
\DoxyCodeLine{923 \textcolor{keywordtype}{string} \mbox{\hyperlink{group__library__functions_gadfdbab96958d3623d431a7ab292d7e27}{strerror}}();}
\DoxyCodeLine{924 }
\DoxyCodeLine{926 }
\DoxyCodeLine{946 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_ga45e8c0b1cd4f673e5f72ce758bc84378}{system}}(\textcolor{keywordtype}{string} command);}
\DoxyCodeLine{947 }
\DoxyCodeLine{949 }
\DoxyCodeLine{956 nothing \mbox{\hyperlink{group__library__functions_ga45e8c0b1cd4f673e5f72ce758bc84378}{system}}();}
\DoxyCodeLine{957 }
\DoxyCodeLine{959 }
\DoxyCodeLine{975 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_ga3c406430b305f4ee204cb1dd2638d93c}{usleep}}(softint usecs);}
\DoxyCodeLine{976 }
\DoxyCodeLine{978 }
\DoxyCodeLine{994 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__library__functions_ga3c406430b305f4ee204cb1dd2638d93c}{usleep}}(\mbox{\hyperlink{group__date__and__time__functions_ga1bd6722e7ca0b4332f0f30aaaa989b08}{date}} d);}
\DoxyCodeLine{995 }
\DoxyCodeLine{997 }
\DoxyCodeLine{1004 nothing \mbox{\hyperlink{group__library__functions_ga3c406430b305f4ee204cb1dd2638d93c}{usleep}}();}
\DoxyCodeLine{1005 }
\DoxyCodeLine{1007 \}}
\DoxyCodeLine{1008 }
\DoxyCodeLine{1010 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespace_qore}{Qore}} \{}
\DoxyCodeLine{1016 }
\DoxyCodeLine{1018     \textcolor{keyword}{const} \mbox{\hyperlink{group__library__option__constants_gaa2695ab22df9c4d4df26e7b08478b7c4}{QLO\_DISABLE\_GARBAGE\_COLLECTION}} = \mbox{\hyperlink{group__library__option__constants_gaa2695ab22df9c4d4df26e7b08478b7c4}{QLO\_DISABLE\_GARBAGE\_COLLECTION}};}
\DoxyCodeLine{1020     \textcolor{keyword}{const} \mbox{\hyperlink{group__library__option__constants_ga1ccc5b8f0d7ff2fd2c3b9582c17ecd13}{QLO\_DISABLE\_OPENSSL\_CLEANUP}} = \mbox{\hyperlink{group__library__option__constants_ga1ccc5b8f0d7ff2fd2c3b9582c17ecd13}{QLO\_DISABLE\_OPENSSL\_CLEANUP}};}
\DoxyCodeLine{1022     \textcolor{keyword}{const} \mbox{\hyperlink{group__library__option__constants_gaea5eee0e93628fbb04c42f667b0a3f6a}{QLO\_DISABLE\_OPENSSL\_INIT}} = \mbox{\hyperlink{group__library__option__constants_gaea5eee0e93628fbb04c42f667b0a3f6a}{QLO\_DISABLE\_OPENSSL\_INIT}};}
\DoxyCodeLine{1024     \textcolor{keyword}{const} \mbox{\hyperlink{group__library__option__constants_ga2e0eb3b90ff2ebd04429c29fe5db6fcd}{QLO\_DISABLE\_SIGNAL\_HANDLING}} = \mbox{\hyperlink{group__library__option__constants_ga2e0eb3b90ff2ebd04429c29fe5db6fcd}{QLO\_DISABLE\_SIGNAL\_HANDLING}};}
\DoxyCodeLine{1026 }
\DoxyCodeLine{1028     \textcolor{keyword}{const} \mbox{\hyperlink{group__library__option__constants_gaa772c37cf600c65b5e8dfd446f8ea9cb}{QLO\_DISABLE\_TLS\_13}} = \mbox{\hyperlink{group__library__option__constants_gaa772c37cf600c65b5e8dfd446f8ea9cb}{QLO\_DISABLE\_TLS\_13}};}
\DoxyCodeLine{1030     \textcolor{keyword}{const} \mbox{\hyperlink{group__library__option__constants_gaf5a5fddbea9f61a95b70209d3b71459d}{QLO\_DO\_NOT\_SEED\_RNG}} = \mbox{\hyperlink{group__library__option__constants_gaf5a5fddbea9f61a95b70209d3b71459d}{QLO\_DO\_NOT\_SEED\_RNG}};}
\DoxyCodeLine{1032 }
\DoxyCodeLine{1034     \textcolor{keyword}{const} \mbox{\hyperlink{group__library__option__constants_gacb98c87cfff3f8bb816945f47d726c80}{QLO\_MINIMUM\_TLS\_13}} = \mbox{\hyperlink{group__library__option__constants_gacb98c87cfff3f8bb816945f47d726c80}{QLO\_MINIMUM\_TLS\_13}};}
\DoxyCodeLine{1036 }
\DoxyCodeLine{1039     \textcolor{keyword}{const} \mbox{\hyperlink{group__library__option__constants_ga5515e5a1a7ae8cab55024767f0d0cd94}{QLO\_RUNTIME\_OPTS}} = \mbox{\hyperlink{group__library__option__constants_ga5515e5a1a7ae8cab55024767f0d0cd94}{QLO\_RUNTIME\_OPTS}};}
\DoxyCodeLine{1041 \}}

\end{DoxyCode}
