$darkmode
Qore Programming Language Reference Manual 1.19.2
ql_misc.dox.h
1 
3 namespace Qore {
5 
7 struct UrlInfo {
9  string host;
11  string password;
13  string path;
15  int port;
17  string protocol;
19  string query;
21  string username;
22 };
23 }
24 
26 namespace Qore {
31 
33 
51 nothing remove_signal_handler(softint signal);
52 
54 
75 nothing set_signal_handler(softint signal, code f);
76 
78 }
79 
81 namespace Qore {
86 
88 
110 string backquote(string cmd, *reference<int> rc);
111 
113 
120 nothing backquote();
121 
123 
140 auto call_builtin_function(string name, ...);
141 
143 
160 auto call_builtin_function_args(string name, *softlist<auto> vargs);
161 
163 
185 auto call_function(string name, ...);
186 
188 
205 auto call_function(code f, ...);
206 
208 
230 auto call_function_args(string name, *softlist<auto> vargs);
231 
233 
250 auto call_function_args(code f, *softlist<auto> vargs);
251 
253 
282 string decode_uri_request(string uri);
283 
285 
304 string decode_url(string url);
305 
307 
311 nothing decode_url();
312 
314 
345 string encode_uri_request(string url);
346 
348 
368 string encode_url(string url, softbool encode_all = False);
369 
371 
383 bool exists( ...);
384 
386 
395 bool existsFunction(string name);
396 
398 
409 bool existsFunction(code c);
410 
412 
416 nothing existsFunction();
417 
419 
433 bool exists_function(string name);
434 
436 
447 bool exists_function(code c);
448 
450 
458 *string functionType(string name);
459 
461 
465 nothing functionType();
466 
468 
478 *string function_type(string name);
479 
481 
494 *int getByte(string str, softint offset = 0);
495 
497 
501 nothing getByte();
502 
504 
517 *int getByte(binary b, softint offset = 0);
518 
520 
528 string getClassName(object obj);
529 
531 
535 nothing getClassName();
536 
538 
547 list<string> getFeatureList();
548 
550 
570 hash<string,hash<auto>> getModuleHash();
571 
573 
593 list<hash<auto>> getModuleList();
594 
596 
610 *int getWord32(string str, softint offset = 0);
611 
613 
627 *int getWord32(binary b, softint offset = 0);
628 
630 
634 nothing getWord32();
635 
637 
653 *int get_byte(string str, softint offset = 0);
654 
656 
672 *int get_byte(binary b, softint offset = 0);
673 
675 
701 code get_call_reference(string identifier);
702 
704 
719 string get_class_name(object obj);
720 
722 
730 
732 
750 string get_ex_pos(hash<auto> ex);
751 
753 
764 list<string> get_feature_list();
765 
767 
781 hash<auto> get_global_vars();
782 
784 
805 hash<auto> get_local_vars(int frame);
806 
808 
828 hash<string,hash<auto>> get_module_hash();
829 
831 
853 list<hash<auto>> get_module_list();
854 
856 
876 auto get_module_option(string module, string option);
877 
879 
892 
894 
917 
919 
937 hash<string,hash<auto>> get_qore_option_hash();
938 
940 
956 list<hash<auto>> get_qore_option_list();
957 
959 
965 string get_safe_url(string url);
966 
968 
975 *string get_script_dir();
976 
978 
985 *string get_script_name();
986 
988 
995 *string get_script_path();
996 
998 
1015 *int get_word_16(string str, softint offset = 0);
1016 
1018 
1035 *int get_word_16(binary b, softint offset = 0);
1036 
1038 
1055 *int get_word_16_lsb(string str, softint offset = 0);
1056 
1058 
1075 *int get_word_16_lsb(binary b, softint offset = 0);
1076 
1078 
1097 *int get_word_32(string str, softint offset = 0);
1098 
1100 
1119 *int get_word_32(binary b, softint offset = 0);
1120 
1122 
1141 *int get_word_32_lsb(string str, softint offset = 0);
1142 
1144 
1161 *int get_word_32_lsb(binary b, softint offset = 0);
1162 
1164 
1181 *int get_word_64(string str, softint offset = 0);
1182 
1184 
1201 *int get_word_64(binary b, softint offset = 0);
1202 
1204 
1221 *int get_word_64_lsb(string str, softint offset = 0);
1222 
1224 
1241 *int get_word_64_lsb(binary b, softint offset = 0);
1242 
1244 
1258 bool has_key(hash<auto> h, string key);
1259 
1261 
1270 bool has_key(object obj, string key);
1271 
1273 
1289 list<auto> hash_values(hash<auto> h);
1290 
1292 
1296 nothing hash_values();
1297 
1299 
1310 int hextoint(string str);
1311 
1313 
1317 nothing hextoint();
1318 
1320 
1336 string html_decode(string str);
1337 
1339 
1343 nothing html_decode();
1344 
1346 
1362 string html_encode(string str);
1363 
1365 
1369 nothing html_encode();
1370 
1372 
1397 nothing load_module(string name, int warning_mask = WARN_MODULES);
1398 
1400 
1407 nothing load_module();
1408 
1410 
1435 *hash<ExceptionInfo> load_module_warn(string name, int warning_mask = WARN_MODULES);
1436 
1438 
1456 
1458 
1476 string makeBase64String(string str, softint maxlinelen = -1);
1477 
1479 
1497 string makeBase64String(binary bin, softint maxlinelen = -1);
1498 
1500 
1505 
1507 
1521 string makeHexString(string str);
1522 
1524 
1538 string makeHexString(binary bin);
1539 
1541 
1545 nothing makeHexString();
1546 
1548 
1569 string make_base64_string(string str, softint maxlinelen = -1);
1570 
1572 
1593 string make_base64_string(binary bin, softint maxlinelen = -1);
1594 
1596 
1615 string make_base64_url_string(string str);
1616 
1618 
1638 
1640 
1659 string make_hex_string(string str);
1660 
1662 
1682 
1684 
1709 *hash<auto> parse(string code, string label, *softint warning_mask, *string source, *softint offset, softbool format_label = True);
1710 
1712 
1719 nothing parse();
1720 
1722 
1740 
1742 
1747 
1749 
1769 string parseBase64StringToString(string str, *string encoding);
1770 
1772 
1777 
1779 
1794 binary parseHexString(string hexstr);
1795 
1797 
1801 nothing parseHexString();
1802 
1804 
1844 *hash<UrlInfo> parseURL(string url, bool keep_brackets = False);
1845 
1847 
1851 nothing parseURL();
1852 
1854 
1877 
1879 
1904 string parse_base64_string_to_string(string str, *string encoding);
1905 
1907 
1929 
1931 
1953 string parse_base64_url_string_to_string(string str, *string encoding);
1954 
1956 
1976 binary parse_hex_string(string hexstr);
1977 
1979 
2019 hash<UrlInfo> parse_url(string url, bool keep_brackets);
2020 
2022 
2061 hash<UrlInfo> parse_url(string url, *int options);
2062 
2064 
2085 nothing reload_module(string name);
2086 
2088 
2104 nothing set_global_var_value(string name, auto value);
2105 
2107 
2127 nothing set_local_var_value(int frame, string var, auto value);
2128 
2130 
2146 nothing set_module_option(string module, string option, auto value);
2147 
2149 
2163  set_return_value(auto val);
2164 
2166 
2175 string splice(string str);
2176 
2178 
2192 string splice(string str, softint start);
2193 
2195 
2211 string splice(string str, softint start, softint len, *string nstr);
2212 
2214 
2226 list<auto> splice(list<auto> l, softint start);
2227 
2229 
2244 list<auto> splice(list<auto> l, softint start, softint len);
2245 
2247 
2263 list<auto> splice(list<auto> l, softint start, softint len, softlist<auto> nlist);
2264 
2266 
2270 nothing splice();
2271 
2273 
2285 int strtoint(string num, softint base = 10);
2286 
2288 
2292 nothing strtoint();
2293 
2295 }
2296 
2298 namespace Qore {
2304 
2310 
2315 }
2316 
2318 namespace Qore {
2326 
2328 
2330  const CE_ALL = CE_ALL;
2332 
2338  const CE_HTML = CE_HTML;
2340 
2346 
2352 
2363  const CE_XML = CE_XML;
2365 }
2366 
2368 namespace Qore {
2376 
2378 
2380  const CD_ALL = CD_ALL;
2382 
2388  const CD_HTML = CD_HTML;
2390 
2394 
2400 
2411  const CD_XML = CD_XML;
2413 }
2414 
2416 namespace Qore {
2421 
2423  const NameToSignal = (
2424  "SIGABRT": SIGABRT,
2425  "SIGALRM": SIGALRM,
2426  "SIGBUS": SIGBUS,
2427  "SIGCANCEL": SIGCANCEL,
2428  "SIGCHLD": SIGCHLD,
2429  "SIGCLD": SIGCLD,
2430  "SIGCONT": SIGCONT,
2431  "SIGEMT": SIGEMT,
2432  "SIGFPE": SIGFPE,
2433  "SIGFREEZE": SIGFREEZE,
2434  "SIGHUP": SIGHUP,
2435  "SIGILL": SIGILL,
2436  "SIGINFO": SIGINFO,
2437  "SIGINT": SIGINT,
2438  "SIGIO": SIGIO,
2439  "SIGIOT": SIGIOT,
2440  "SIGJVM1": SIGJVM1,
2441  "SIGJVM2": SIGJVM2,
2442  "SIGKILL": SIGKILL,
2443  "SIGLOST": SIGLOST,
2444  "SIGLWP": SIGLWP,
2445  "SIGPIPE": SIGPIPE,
2446  "SIGPOLL": SIGPOLL,
2447  "SIGPROF": SIGPROF,
2448  "SIGPWR": SIGPWR,
2449  "SIGQUIT": SIGQUIT,
2450  "SIGSEGV": SIGSEGV,
2451  "SIGSTKFLT": SIGSTKFLT,
2452  "SIGSTOP": SIGSTOP,
2453  "SIGSYS": SIGSYS,
2454  "SIGTERM": SIGTERM,
2455  "SIGTHAW": SIGTHAW,
2456  "SIGTRAP": SIGTRAP,
2457  "SIGTSTP": SIGTSTP,
2458  "SIGTTIN": SIGTTIN,
2459  "SIGTTOU": SIGTTOU,
2460  "SIGURG": SIGURG,
2461  "SIGUSR1": SIGUSR1,
2462  "SIGUSR2": SIGUSR2,
2463  "SIGVTALRM": SIGVTALRM,
2464  "SIGWAITING": SIGWAITING,
2465  "SIGWINCH": SIGWINCH,
2466  "SIGXCPU": SIGXCPU,
2467  "SIGXFSZ": SIGXFSZ,
2468  "SIGXRES": SIGXRES,
2469  );
2471  const SIGABRT = SIGABRT;
2473  const SIGALRM = SIGALRM;
2475  const SIGBUS = SIGBUS;
2479  const SIGCHLD = SIGCHLD;
2481  const SIGCLD = SIGCLD;
2483  const SIGCONT = SIGCONT;
2485  const SIGEMT = SIGEMT;
2487  const SIGFPE = SIGFPE;
2491  const SIGHUP = SIGHUP;
2493  const SIGILL = SIGILL;
2495  const SIGINFO = SIGINFO;
2497  const SIGINT = SIGINT;
2499  const SIGIO = SIGIO;
2501  const SIGIOT = SIGIOT;
2503  const SIGJVM1 = SIGJVM1;
2505  const SIGJVM2 = SIGJVM2;
2507  const SIGKILL = SIGKILL;
2509  const SIGLOST = SIGLOST;
2511  const SIGLWP = SIGLWP;
2513  const SIGPIPE = SIGPIPE;
2515  const SIGPOLL = SIGPOLL;
2517  const SIGPROF = SIGPROF;
2519  const SIGPWR = SIGPWR;
2521  const SIGQUIT = SIGQUIT;
2523  const SIGSEGV = SIGSEGV;
2527  const SIGSTOP = SIGSTOP;
2529  const SIGSYS = SIGSYS;
2531  const SIGTERM = SIGTERM;
2533  const SIGTHAW = SIGTHAW;
2535  const SIGTRAP = SIGTRAP;
2537  const SIGTSTP = SIGTSTP;
2539  const SIGTTIN = SIGTTIN;
2541  const SIGTTOU = SIGTTOU;
2543  const SIGURG = SIGURG;
2545  const SIGUSR1 = SIGUSR1;
2547  const SIGUSR2 = SIGUSR2;
2555  const SIGXCPU = SIGXCPU;
2557  const SIGXFSZ = SIGXFSZ;
2559  const SIGXRES = SIGXRES;
2561  const SignalToName = (
2562  SIGABRT: "SIGABRT",
2563  SIGALRM: "SIGALRM",
2564  SIGBUS: "SIGBUS",
2565  SIGCANCEL: "SIGCANCEL",
2566  SIGCHLD: "SIGCHLD",
2567  SIGCONT: "SIGCONT",
2568  SIGEMT: "SIGEMT",
2569  SIGFPE: "SIGFPE",
2570  SIGFREEZE: "SIGFREEZE",
2571  SIGHUP: "SIGHUP",
2572  SIGILL: "SIGILL",
2573  SIGINFO: "SIGINFO",
2574  SIGINT: "SIGINT",
2575  SIGIO: "SIGIO",
2576  SIGIOT: "SIGIOT",
2577  SIGJVM1: "SIGJVM1",
2578  SIGJVM2: "SIGJVM2",
2579  SIGKILL: "SIGKILL",
2580  SIGLOST: "SIGLOST",
2581  SIGLWP: "SIGLWP",
2582  SIGPIPE: "SIGPIPE",
2583  SIGPOLL: "SIGPOLL",
2584  SIGPROF: "SIGPROF",
2585  SIGPWR: "SIGPWR",
2586  SIGQUIT: "SIGQUIT",
2587  SIGSEGV: "SIGSEGV",
2588  SIGSTKSZ: "SIGSTKSZ",
2589  SIGSTOP: "SIGSTOP",
2590  SIGSYS: "SIGSYS",
2591  SIGTERM: "SIGTERM",
2592  SIGTHAW: "SIGTHAW",
2593  SIGTRAP: "SIGTRAP",
2594  SIGTSTP: "SIGTSTP",
2595  SIGTTIN: "SIGTTIN",
2596  SIGTTOU: "SIGTTOU",
2597  SIGURG: "SIGURG",
2598  SIGUSR1: "SIGUSR1",
2599  SIGUSR2: "SIGUSR2",
2600  SIGVTALRM: "SIGVTALRM",
2601  SIGWAITING: "SIGWAITING",
2602  SIGWINCH: "SIGWINCH",
2603  SIGXCPU: "SIGXCPU",
2604  SIGXFSZ: "SIGXFSZ",
2605  SIGXRES: "SIGXRES",
2606 );
2608 }
Program objects allow Qore programs to support subprograms with the option to restrict capabilities,...
Definition: QC_Program.dox.h:56
const CD_XML
code for decoding XML entities
Definition: ql_misc.dox.h:2411
const CD_ALL
code for decoding everything
Definition: ql_misc.dox.h:2380
const CD_XHTML
code for decoding XHTML named character references to symbols
Definition: ql_misc.dox.h:2398
const CD_NUM_REF
code for decoding numeric character references to symbols
Definition: ql_misc.dox.h:2392
const CD_HTML
code for decoding HTML 5 named character references to their native symbols
Definition: ql_misc.dox.h:2388
const CE_ALL
code for encoding everything
Definition: ql_misc.dox.h:2330
const CE_HTML
code for encoding HTML 5 symbols as named character references
Definition: ql_misc.dox.h:2338
const CE_NONASCII
code for encoding all non-ASCII symbols as numeric character references
Definition: ql_misc.dox.h:2344
const CE_XHTML
code for encoding XHTML entities
Definition: ql_misc.dox.h:2350
const CE_XML
code for encoding XML entities
Definition: ql_misc.dox.h:2363
const True
logical True
Definition: qc_qore.dox.h:98
const False
logical False
Definition: qc_qore.dox.h:96
string parse_base64_string_to_string(string str, *string encoding)
Parses a base64 encoded string and returns a string of the decoded data.
*hash< auto > parse(string code, string label, *softint warning_mask, *string source, *softint offset, softbool format_label=True)
Adds the text passed to the current program's code, tagged with the given label.
string get_safe_url(string url)
Returns the URL string passed without any password information.
auto call_function_args(string name, *softlist< auto > vargs)
Calls a function and returns the return value, using the optional second argument as a list of argume...
list< hash< auto > > get_module_list()
Returns a list of hashes describing the currently-loaded Qore modules.
binary parseBase64String(string str)
Parses a base64 encoded string and returns a binary object of the decoded data.
string parseBase64StringToString(string str, *string encoding)
Parses a base64 encoded string and returns a string of the decoded data.
hash< string, hash< auto > > get_qore_option_hash()
Returns a hash of hashes giving information about Qore library options for the current build.
nothing set_local_var_value(int frame, string var, auto value)
sets the value of the given local variable; if the variable cannot be found an exception is raised
*string function_type(string name)
Returns "builtin" (for a builtin function), "user" (for a user function), or NOTHING (if the function...
*int get_byte(string str, softint offset=0)
Returns the byte value at the given byte offset (the first value is at offset 0) or NOTHING if the of...
*hash< ExceptionInfo > load_module_warn(string name, int warning_mask=WARN_MODULES)
Loads in a Qore module at run-time.
auto get_module_option(string module, string option)
returns the given global module option
*int get_word_32_lsb(string str, softint offset=0)
Returns the 32-bit integer value at the given 4-byte offset (the first value is at offset 0) or NOTHI...
auto call_builtin_function(string name,...)
Calls a function and returns the return value, passing the remaining arguments after the function nam...
string makeBase64String(string str, softint maxlinelen=-1)
Returns a base64-encoded representation of a string.
hash< string, hash< auto > > getModuleHash()
Returns a hash of hashes describing the currently-loaded Qore modules; the top-level hash keys are th...
binary parse_base64_string(string str)
Parses a base64 encoded string and returns a binary object of the decoded data.
hash< auto > get_global_vars()
returns a hash of global variables
bool exists_function(string name)
Returns True if the function exists in the current program's function name space.
*int getByte(string str, softint offset=0)
Returns the byte value at the given byte offset (the first value is at offset 0) or NOTHING if the of...
string splice(string str)
This function always returns an empty string "".
*string get_script_path()
Returns the path (directory and filename) of the current script or NOTHING if unknown (i....
string getClassName(object obj)
Returns the class name of the object passed.
*string get_script_dir()
Returns the name of the directory from which the current script was executed or NOTHING if unknown (i...
hash< UrlInfo > parse_url(string url, bool keep_brackets)
Parses a URL string and returns a hash of the components.
auto call_builtin_function_args(string name, *softlist< auto > vargs)
Calls a function and returns the return value, using the optional second argument as a list of argume...
string parse_base64_url_string_to_string(string str, *string encoding)
Parses a base64-url-encoded string and returns a string of the decoded data.
set_return_value(auto val)
sets the return value for a Program object when running with %exec-class
string decode_url(string url)
Decodes percent numeric codes in a URL string and returns the decoded string in UTF-8 encoding.
binary parse_base64_url_string(string str)
Parses a base64-url-encoded string and returns a binary object of the decoded data.
*int get_word_16(string str, softint offset=0)
Returns the 16-bit integer value at the given 2-byte offset (the first value is at offset 0) or NOTHI...
nothing load_user_module_with_program(string name, Qore::Program pgm)
Loads in a Qore user module at run-time with using the given Program object as the container for the ...
*string functionType(string name)
Returns "builtin" (for a builtin function), "user" (for a user function), or NOTHING (if the function...
int hextoint(string str)
Returns an integer for a hexadecimal string value; throws an exception if non-hex digits are found.
string encode_url(string url, softbool encode_all=False)
Encodes URLs by substituting '%' characters with '%25', spaces (' ') with '%20', and non-ascii charac...
int get_parse_options()
returns the current parse options for the current Program object
code get_call_reference(string identifier)
resolve the string as a call reference
bool has_key(hash< auto > h, string key)
Returns True if the given key exists in the hash (does not necessarily have to have a value assigned)...
binary parseHexString(string hexstr)
Parses a hex-encoded string and returns the binary object.
auto call_function(string name,...)
Calls a function and returns the return value, passing the remaining arguments after the function nam...
list< hash< auto > > getModuleList()
Returns a list of hashes describing the currently-loaded Qore modules.
list< string > getFeatureList()
Returns a list of strings of the builtin and module-supplied features of Qore.
bool existsFunction(string name)
Returns True if the function exists in the current program's function name space.
nothing reload_module(string name)
Reloads an already-loaded Qore module subject to code injection at run-time into Qore; the module's c...
int strtoint(string num, softint base=10)
parses a string representing a number in a configurable base and returns the integer
list< string > get_feature_list()
Returns a list of strings of the builtin and module-supplied features of Qore.
*int get_word_16_lsb(string str, softint offset=0)
Returns the 16-bit integer value at the given 2-byte offset (the first value is at offset 0) or NOTHI...
string make_base64_string(string str, softint maxlinelen=-1)
Returns a base64-encoded representation of a string.
list< hash< auto > > get_qore_option_list()
Returns a list of hashes giving information about Qore library options for the current build.
string get_default_encoding()
Returns the name of the default character encoding.
nothing set_module_option(string module, string option, auto value)
set the given module option
string html_encode(string str)
Returns a string with characters needing HTML escaping translated to HTML escape codes.
hash< auto > get_qore_library_info()
Returns a hash of library build and version info.
string get_class_name(object obj)
Returns the class name of the object passed.
string get_ex_pos(hash< auto > ex)
returns a descriptive string for an exception location; the source and offset information will also b...
hash< string, hash< auto > > get_module_hash()
Returns a hash of hashes describing the currently-loaded Qore modules; the top-level hash keys are th...
string make_base64_url_string(string str)
Returns a base64-url-encoded representation of a string.
*int get_word_64_lsb(string str, softint offset=0)
Returns the 64-bit integer value at the given 8-byte offset (the first value is at offset 0) or NOTHI...
hash< auto > get_local_vars(int frame)
retrieves a hash of local variables for the given stack frame
string html_decode(string str)
Returns a string with any HTML escape codes translated to the original characters.
string encode_uri_request(string url)
Encodes URI requests by substituting special characters in the path with percent-encoded equivalents ...
bool exists(...)
A function performing the same role as the exists operator.
*string get_script_name()
Returns the filename of the current script if known or NOTHING if unknown (i.e. no parent script,...
*int get_word_64(string str, softint offset=0)
Returns the 64-bit integer value at the given 8-byte offset (the first value is at offset 0) or NOTHI...
*hash< UrlInfo > parseURL(string url, bool keep_brackets=False)
Parses a URL string and returns a hash of the components; if the URL cannot be parsed then NOTHING is...
string makeHexString(string str)
Returns a hex-encoded representation of a string.
*int get_word_32(string str, softint offset=0)
Returns the 32-bit integer value at the given 4-byte offset (the first value is at offset 0) or NOTHI...
string make_hex_string(string str)
Returns a hex-encoded representation of a string.
nothing set_global_var_value(string name, auto value)
set the value of a global variable
*int getWord32(string str, softint offset=0)
Returns the 32-bit integer value at the given 4-byte offset (the first value is at offset 0) or NOTHI...
binary parse_hex_string(string hexstr)
Parses a hex-encoded string and returns the binary object.
string backquote(string cmd, *reference< int > rc)
Executes a process and returns a string of the output (stdout only)
nothing load_module(string name, int warning_mask=WARN_MODULES)
Loads in a Qore module at run-time.
list< auto > hash_values(hash< auto > h)
Returns a list of all the values in the hash argument passed.
string decode_uri_request(string uri)
Decodes percent-encoded codes in a URI path and converts "+" signs in the query component to spaces a...
const QURL_KEEP_BRACKETS
If the hostname or address is enclosed in square brackets, the brackets will be included in the "host...
Definition: ql_misc.dox.h:2313
const QURL_DECODE
Perform percent decoding on the "host", "username", and "password" fields.
Definition: ql_misc.dox.h:2306
const QURL_DECODE_PATH
Decodes all fields like QURL_DECODE plus also performs percent decoding on "path" and "query" fields.
Definition: ql_misc.dox.h:2308
const SIGUSR1
SIGUSR1.
Definition: ql_misc.dox.h:2545
const SIGXRES
SIGXRES.
Definition: ql_misc.dox.h:2559
const SIGALRM
SIGALRM.
Definition: ql_misc.dox.h:2473
const SIGHUP
SIGHUP.
Definition: ql_misc.dox.h:2491
const SIGTTOU
SIGTTOU.
Definition: ql_misc.dox.h:2541
const SIGLWP
SIGLWP.
Definition: ql_misc.dox.h:2511
const SIGCHLD
SIGCHLD.
Definition: ql_misc.dox.h:2479
const SIGSYS
SIGSYS.
Definition: ql_misc.dox.h:2529
const SIGPOLL
SIGPOLL.
Definition: ql_misc.dox.h:2515
const SIGABRT
SIGABRT.
Definition: ql_misc.dox.h:2471
const SIGWAITING
SIGWAITING.
Definition: ql_misc.dox.h:2551
const SIGVTALRM
SIGVTALRM.
Definition: ql_misc.dox.h:2549
const SIGTSTP
SIGTSTP.
Definition: ql_misc.dox.h:2537
const SIGXFSZ
SIGXFSZ.
Definition: ql_misc.dox.h:2557
const SIGBUS
SIGBUS.
Definition: ql_misc.dox.h:2475
const SIGSTKFLT
SIGSTKFLT.
Definition: ql_misc.dox.h:2525
const SIGPIPE
SIGPIPE.
Definition: ql_misc.dox.h:2513
const SIGPROF
SIGPROF.
Definition: ql_misc.dox.h:2517
const SIGILL
SIGILL.
Definition: ql_misc.dox.h:2493
const SIGCLD
SIGCLD.
Definition: ql_misc.dox.h:2481
const SIGURG
SIGURG.
Definition: ql_misc.dox.h:2543
const SIGTRAP
SIGTRAP.
Definition: ql_misc.dox.h:2535
const SIGTHAW
SIGTHAW.
Definition: ql_misc.dox.h:2533
const SIGCANCEL
SIGCANCEL.
Definition: ql_misc.dox.h:2477
const SIGSTOP
SIGSTOP.
Definition: ql_misc.dox.h:2527
const SIGWINCH
SIGWINCH.
Definition: ql_misc.dox.h:2553
const SIGEMT
SIGEMT.
Definition: ql_misc.dox.h:2485
const SIGINFO
SIGINFO.
Definition: ql_misc.dox.h:2495
const SIGFPE
SIGFPE.
Definition: ql_misc.dox.h:2487
const SIGLOST
SIGLOST.
Definition: ql_misc.dox.h:2509
const NameToSignal
maps signal names to signal values
Definition: ql_misc.dox.h:2423
const SIGKILL
SIGKILL.
Definition: ql_misc.dox.h:2507
const SignalToName
maps signal numbers (as a string key) to the symbolic name for the signal
Definition: ql_misc.dox.h:2561
const SIGQUIT
SIGQUIT.
Definition: ql_misc.dox.h:2521
const SIGIOT
SIGIOT.
Definition: ql_misc.dox.h:2501
const SIGTERM
SIGTERM.
Definition: ql_misc.dox.h:2531
const SIGTTIN
SIGTTIN.
Definition: ql_misc.dox.h:2539
const SIGUSR2
SIGUSR2.
Definition: ql_misc.dox.h:2547
const SIGCONT
SIGCONT.
Definition: ql_misc.dox.h:2483
const SIGIO
SIGIO.
Definition: ql_misc.dox.h:2499
const SIGXCPU
SIGXCPU.
Definition: ql_misc.dox.h:2555
const SIGSEGV
SIGSEGV.
Definition: ql_misc.dox.h:2523
const SIGJVM1
SIGJVM1.
Definition: ql_misc.dox.h:2503
const SIGFREEZE
SIGFREEZE.
Definition: ql_misc.dox.h:2489
const SIGINT
SIGINT.
Definition: ql_misc.dox.h:2497
const SIGJVM2
SIGJVM2.
Definition: ql_misc.dox.h:2505
const SIGPWR
SIGPWR.
Definition: ql_misc.dox.h:2519
nothing set_signal_handler(softint signal, code f)
Sets or replaces a signal handler according to the signal number and closure or call reference (funct...
nothing remove_signal_handler(softint signal)
Removes a signal handler and returns the signal handling state to the default.
binary binary()
Always returns an empty binary object (of zero length)
const WARN_MODULES
The default warning mask for user modules.
Definition: QC_Program.dox.h:2075
Qore namespace.
Definition: QC_AbstractBidirectionalIterator.dox.h:2
a hash describing a parsed URL
Definition: ql_misc.dox.h:7
string host
the hostname given in the URL string, if any
Definition: ql_misc.dox.h:9
string path
the path given in the URL string, if present
Definition: ql_misc.dox.h:13
string username
the username of the URL, if present
Definition: ql_misc.dox.h:21
string password
the password given in the URL, if any
Definition: ql_misc.dox.h:11
string query
the query part of the URL (i.e. text after any '?' char), if present
Definition: ql_misc.dox.h:19
int port
the port number given in the URL string, if any
Definition: ql_misc.dox.h:15
string protocol
the scheme or protocol of the URL, if present
Definition: ql_misc.dox.h:17