Qore Programming Language Reference Manual  0.8.13.5
 All Classes Namespaces Functions Variables Groups Pages
ql_misc.dox.h
1 
3 namespace Qore {
8 
10 
28 nothing remove_signal_handler(softint signal);
29 
31 
52 nothing set_signal_handler(softint signal, code f);
53 
55 };
56 
58 namespace Qore {
63 
65 
87 string backquote(string cmd, *reference<int> rc);
88 
90 
97 nothing backquote();
98 
100 
117 auto call_builtin_function(string name, ...);
118 
120 
137 auto call_builtin_function_args(string name, *softlist<auto> vargs);
138 
140 
155 auto call_function(string name, ...);
156 
158 
168 auto call_function(code f, ...);
169 
171 
186 auto call_function_args(string name, *softlist<auto> vargs);
187 
189 
199 auto call_function_args(code f, *softlist<auto> vargs);
200 
202 
231 string decode_uri_request(string uri);
232 
234 
253 string decode_url(string url);
254 
256 
260 nothing decode_url();
261 
263 
294 string encode_uri_request(string url);
295 
297 
317 string encode_url(string url, softbool encode_all = False);
318 
320 
332 bool exists( ...);
333 
335 
344 bool existsFunction(string name);
345 
347 
358 bool existsFunction(code c);
359 
361 
365 nothing existsFunction();
366 
368 
382 bool exists_function(string name);
383 
385 
396 bool exists_function(code c);
397 
399 
407 *string functionType(string name);
408 
410 
414 nothing functionType();
415 
417 
427 *string function_type(string name);
428 
430 
443 *int getByte(string str, softint offset = 0);
444 
446 
450 nothing getByte();
451 
453 
466 *int getByte(binary b, softint offset = 0);
467 
469 
477 string getClassName(object obj);
478 
480 
484 nothing getClassName();
485 
487 
497 
499 
519 hash<string,hash> getModuleHash();
520 
522 
542 list<hash> getModuleList();
543 
545 
559 *int getWord32(string str, softint offset = 0);
560 
562 
576 *int getWord32(binary b, softint offset = 0);
577 
579 
583 nothing getWord32();
584 
586 
602 *int get_byte(string str, softint offset = 0);
603 
605 
621 *int get_byte(binary b, softint offset = 0);
622 
624 
639 string get_class_name(object obj);
640 
642 
649 string get_default_encoding();
650 
652 
671 string get_ex_pos(hash ex);
672 
674 
686 
688 
703 
705 
726 hash get_local_vars(int frame);
727 
729 
749 hash<string,hash> get_module_hash();
750 
752 
774 list<hash> get_module_list();
775 
777 
789 int get_parse_options();
790 
792 
815 
817 
836 
838 
855 
857 
864 *string get_script_dir();
865 
867 
874 *string get_script_name();
875 
877 
884 *string get_script_path();
885 
887 
904 *int get_word_16(string str, softint offset = 0);
905 
907 
924 *int get_word_16(binary b, softint offset = 0);
925 
927 
944 *int get_word_16_lsb(string str, softint offset = 0);
945 
947 
964 *int get_word_16_lsb(binary b, softint offset = 0);
965 
967 
986 *int get_word_32(string str, softint offset = 0);
987 
989 
1008 *int get_word_32(binary b, softint offset = 0);
1009 
1011 
1030 *int get_word_32_lsb(string str, softint offset = 0);
1031 
1033 
1050 *int get_word_32_lsb(binary b, softint offset = 0);
1051 
1053 
1070 *int get_word_64(string str, softint offset = 0);
1071 
1073 
1090 *int get_word_64(binary b, softint offset = 0);
1091 
1093 
1110 *int get_word_64_lsb(string str, softint offset = 0);
1111 
1113 
1130 *int get_word_64_lsb(binary b, softint offset = 0);
1131 
1133 
1147 bool has_key(hash h, string key);
1148 
1150 
1159 bool has_key(object obj, string key);
1160 
1162 
1178 list hash_values(hash h);
1179 
1181 
1185 nothing hash_values();
1186 
1188 
1199 int hextoint(string str);
1200 
1202 
1206 nothing hextoint();
1207 
1209 
1225 string html_decode(string str);
1226 
1228 
1232 nothing html_decode();
1233 
1235 
1251 string html_encode(string str);
1252 
1254 
1258 nothing html_encode();
1259 
1261 
1283 nothing load_module(string name);
1284 
1286 
1293 nothing load_module();
1294 
1296 
1313 nothing load_user_module_with_program(string name, Qore::Program pgm);
1314 
1316 
1334 string makeBase64String(string str, softint maxlinelen = -1);
1335 
1337 
1355 string makeBase64String(binary bin, softint maxlinelen = -1);
1356 
1358 
1362 nothing makeBase64String();
1363 
1365 
1379 string makeHexString(string str);
1380 
1382 
1396 string makeHexString(binary bin);
1397 
1399 
1403 nothing makeHexString();
1404 
1406 
1427 string make_base64_string(string str, softint maxlinelen = -1);
1428 
1430 
1451 string make_base64_string(binary bin, softint maxlinelen = -1);
1452 
1454 
1473 string make_hex_string(string str);
1474 
1476 
1495 string make_hex_string(binary bin);
1496 
1498 
1523 *hash parse(string code, string label, *softint warning_mask, *string source, *softint offset, softbool format_label = True);
1524 
1526 
1533 nothing parse();
1534 
1536 
1553 binary parseBase64String(string str);
1554 
1556 
1560 nothing parseBase64String();
1561 
1563 
1583 string parseBase64StringToString(string str, *string encoding);
1584 
1586 
1590 nothing parseBase64StringToString();
1591 
1593 
1608 binary parseHexString(string hexstr);
1609 
1611 
1615 nothing parseHexString();
1616 
1618 
1641 *hash parseURL(string url, bool keep_brackets = False);
1642 
1644 
1648 nothing parseURL();
1649 
1651 
1673 binary parse_base64_string(string str);
1674 
1676 
1701 string parse_base64_string_to_string(string str, *string encoding);
1702 
1704 
1724 binary parse_hex_string(string hexstr);
1725 
1727 
1749 hash parse_url(string url, bool keep_brackets = False);
1750 
1752 
1773 nothing reload_module(string name);
1774 
1776 
1792 nothing set_global_var_value(string name, auto value);
1793 
1795 
1815 nothing set_local_var_value(int frame, string var, auto value);
1816 
1818 
1832  set_return_value(auto val);
1833 
1835 
1844 string splice(string str);
1845 
1847 
1861 string splice(string str, softint start);
1862 
1864 
1880 string splice(string str, softint start, softint len, *string nstr);
1881 
1883 
1895 list splice(list l, softint start);
1896 
1898 
1914 list splice(list l, softint start, softint len, *softlist nlist);
1915 
1917 
1921 nothing splice();
1922 
1924 
1936 int strtoint(string num, softint base = 10);
1937 
1939 
1943 nothing strtoint();
1944 
1946 };
1947 
1949 namespace Qore {
1957 
1959 
1961  const CE_ALL = CE_ALL;
1963 
1969  const CE_HTML = CE_HTML;
1971 
1977 
1983 
1994  const CE_XML = CE_XML;
1996 };
1997 
1999 namespace Qore {
2007 
2009 
2011  const CD_ALL = CD_ALL;
2013 
2019  const CD_HTML = CD_HTML;
2021 
2025 
2031 
2042  const CD_XML = CD_XML;
2044 };
2045 
2047 namespace Qore {
2052 
2054  const NameToSignal = (
2055  "SIGABRT": SIGABRT,
2056  "SIGALRM": SIGALRM,
2057  "SIGBUS": SIGBUS,
2058  "SIGCANCEL": SIGCANCEL,
2059  "SIGCHLD": SIGCHLD,
2060  "SIGCLD": SIGCLD,
2061  "SIGCONT": SIGCONT,
2062  "SIGEMT": SIGEMT,
2063  "SIGFPE": SIGFPE,
2064  "SIGFREEZE": SIGFREEZE,
2065  "SIGHUP": SIGHUP,
2066  "SIGILL": SIGILL,
2067  "SIGINFO": SIGINFO,
2068  "SIGINT": SIGINT,
2069  "SIGIO": SIGIO,
2070  "SIGIOT": SIGIOT,
2071  "SIGJVM1": SIGJVM1,
2072  "SIGJVM2": SIGJVM2,
2073  "SIGKILL": SIGKILL,
2074  "SIGLOST": SIGLOST,
2075  "SIGLWP": SIGLWP,
2076  "SIGPIPE": SIGPIPE,
2077  "SIGPOLL": SIGPOLL,
2078  "SIGPROF": SIGPROF,
2079  "SIGPWR": SIGPWR,
2080  "SIGQUIT": SIGQUIT,
2081  "SIGSEGV": SIGSEGV,
2082  "SIGSTKFLT": SIGSTKFLT,
2083  "SIGSTOP": SIGSTOP,
2084  "SIGSYS": SIGSYS,
2085  "SIGTERM": SIGTERM,
2086  "SIGTHAW": SIGTHAW,
2087  "SIGTRAP": SIGTRAP,
2088  "SIGTSTP": SIGTSTP,
2089  "SIGTTIN": SIGTTIN,
2090  "SIGTTOU": SIGTTOU,
2091  "SIGURG": SIGURG,
2092  "SIGUSR1": SIGUSR1,
2093  "SIGUSR2": SIGUSR2,
2094  "SIGVTALRM": SIGVTALRM,
2095  "SIGWAITING": SIGWAITING,
2096  "SIGWINCH": SIGWINCH,
2097  "SIGXCPU": SIGXCPU,
2098  "SIGXFSZ": SIGXFSZ,
2099  "SIGXRES": SIGXRES,
2100  );
2102  const SIGABRT = SIGABRT;
2104  const SIGALRM = SIGALRM;
2106  const SIGBUS = SIGBUS;
2110  const SIGCHLD = SIGCHLD;
2112  const SIGCLD = SIGCLD;
2114  const SIGCONT = SIGCONT;
2116  const SIGEMT = SIGEMT;
2118  const SIGFPE = SIGFPE;
2122  const SIGHUP = SIGHUP;
2124  const SIGILL = SIGILL;
2126  const SIGINFO = SIGINFO;
2128  const SIGINT = SIGINT;
2130  const SIGIO = SIGIO;
2132  const SIGIOT = SIGIOT;
2134  const SIGJVM1 = SIGJVM1;
2136  const SIGJVM2 = SIGJVM2;
2138  const SIGKILL = SIGKILL;
2140  const SIGLOST = SIGLOST;
2142  const SIGLWP = SIGLWP;
2144  const SIGPIPE = SIGPIPE;
2146  const SIGPOLL = SIGPOLL;
2148  const SIGPROF = SIGPROF;
2150  const SIGPWR = SIGPWR;
2152  const SIGQUIT = SIGQUIT;
2154  const SIGSEGV = SIGSEGV;
2158  const SIGSTOP = SIGSTOP;
2160  const SIGSYS = SIGSYS;
2162  const SIGTERM = SIGTERM;
2164  const SIGTHAW = SIGTHAW;
2166  const SIGTRAP = SIGTRAP;
2168  const SIGTSTP = SIGTSTP;
2170  const SIGTTIN = SIGTTIN;
2172  const SIGTTOU = SIGTTOU;
2174  const SIGURG = SIGURG;
2176  const SIGUSR1 = SIGUSR1;
2178  const SIGUSR2 = SIGUSR2;
2186  const SIGXCPU = SIGXCPU;
2188  const SIGXFSZ = SIGXFSZ;
2190  const SIGXRES = SIGXRES;
2192  const SignalToName = (
2193  SIGABRT: "SIGABRT",
2194  SIGALRM: "SIGALRM",
2195  SIGBUS: "SIGBUS",
2196  SIGCANCEL: "SIGCANCEL",
2197  SIGCHLD: "SIGCHLD",
2198  SIGCONT: "SIGCONT",
2199  SIGEMT: "SIGEMT",
2200  SIGFPE: "SIGFPE",
2201  SIGFREEZE: "SIGFREEZE",
2202  SIGHUP: "SIGHUP",
2203  SIGILL: "SIGILL",
2204  SIGINFO: "SIGINFO",
2205  SIGINT: "SIGINT",
2206  SIGIO: "SIGIO",
2207  SIGIOT: "SIGIOT",
2208  SIGJVM1: "SIGJVM1",
2209  SIGJVM2: "SIGJVM2",
2210  SIGKILL: "SIGKILL",
2211  SIGLOST: "SIGLOST",
2212  SIGLWP: "SIGLWP",
2213  SIGPIPE: "SIGPIPE",
2214  SIGPOLL: "SIGPOLL",
2215  SIGPROF: "SIGPROF",
2216  SIGPWR: "SIGPWR",
2217  SIGQUIT: "SIGQUIT",
2218  SIGSEGV: "SIGSEGV",
2219  SIGSTKSZ: "SIGSTKSZ",
2220  SIGSTOP: "SIGSTOP",
2221  SIGSYS: "SIGSYS",
2222  SIGTERM: "SIGTERM",
2223  SIGTHAW: "SIGTHAW",
2224  SIGTRAP: "SIGTRAP",
2225  SIGTSTP: "SIGTSTP",
2226  SIGTTIN: "SIGTTIN",
2227  SIGTTOU: "SIGTTOU",
2228  SIGURG: "SIGURG",
2229  SIGUSR1: "SIGUSR1",
2230  SIGUSR2: "SIGUSR2",
2231  SIGVTALRM: "SIGVTALRM",
2232  SIGWAITING: "SIGWAITING",
2233  SIGWINCH: "SIGWINCH",
2234  SIGXCPU: "SIGXCPU",
2235  SIGXFSZ: "SIGXFSZ",
2236  SIGXRES: "SIGXRES",
2237  );
2239 };
list< hash > getModuleList()
Returns a list of hashes describing the currently-loaded Qore modules.
const SIGKILL
SIGKILL.
Definition: ql_misc.dox.h:2138
*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...
string get_default_encoding()
Returns the name of the default character encoding.
const SIGSYS
SIGSYS.
Definition: ql_misc.dox.h:2160
const CE_ALL
code for encoding everything
Definition: ql_misc.dox.h:1961
const CE_XML
code for encoding XML entities
Definition: ql_misc.dox.h:1994
const SIGINFO
SIGINFO.
Definition: ql_misc.dox.h:2126
*string get_script_name()
Returns the filename of the current script if known or NOTHING if unknown (i.e. no parent script...
string decode_url(string url)
Decodes percent numeric codes in a URL string and returns the decoded string in UTF-8 encoding...
binary parseHexString(string hexstr)
Parses a hex-encoded string and returns the binary object.
const SIGURG
SIGURG.
Definition: ql_misc.dox.h:2174
string parse_base64_string_to_string(string str, *string encoding)
Parses a base64 encoded string and returns a string of the decoded data.
hash get_qore_option_hash()
Returns a hash of hashes giving information about Qore library options for the current build...
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...
const SIGPROF
SIGPROF.
Definition: ql_misc.dox.h:2148
const SIGSTKFLT
SIGSTKFLT.
Definition: ql_misc.dox.h:2156
*hash parse(string code, string label, *softint warning_mask, *string source, *softint offset, softbool format_label=True)
Adds the text passed to the current program&#39;s code, tagged with the given label.
Program objects allow Qore programs to support subprograms with the option to restrict capabilities...
Definition: QC_Program.dox.h:29
const SIGBUS
SIGBUS.
Definition: ql_misc.dox.h:2106
set_return_value(auto val)
sets the return value for a Program object when running with %exec-class
*string get_script_path()
Returns the path (directory and filename) of the current script or NOTHING if unknown (i...
const SIGTTOU
SIGTTOU.
Definition: ql_misc.dox.h:2172
string make_base64_string(string str, softint maxlinelen=-1)
Returns a base64-encoded representation of a string.
const SIGQUIT
SIGQUIT.
Definition: ql_misc.dox.h:2152
*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 function_type(string name)
Returns &quot;builtin&quot; (for a builtin function), &quot;user&quot; (for a user function), or NOTHING (if the function...
const SIGWINCH
SIGWINCH.
Definition: ql_misc.dox.h:2184
const CD_XHTML
code for decoding XHTML named character references to symbols
Definition: ql_misc.dox.h:2029
const SIGPWR
SIGPWR.
Definition: ql_misc.dox.h:2150
const True
logical True
Definition: qc_qore.dox.h:94
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...
const SIGIO
SIGIO.
Definition: ql_misc.dox.h:2130
string encode_uri_request(string url)
Encodes URI requests by substituting special characters in the path with percent-encoded ewquivalents...
const CE_XHTML
code for encoding XHTML entities
Definition: ql_misc.dox.h:1981
const SIGCLD
SIGCLD.
Definition: ql_misc.dox.h:2112
const SIGUSR2
SIGUSR2.
Definition: ql_misc.dox.h:2178
*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...
const SIGVTALRM
SIGVTALRM.
Definition: ql_misc.dox.h:2180
*hash 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...
auto call_function(string name,...)
Calls a function and returns the return value, passing the remaining arguments after the function nam...
binary binary()
Always returns an empty binary object (of zero length)
const SIGSTOP
SIGSTOP.
Definition: ql_misc.dox.h:2158
const SIGTERM
SIGTERM.
Definition: ql_misc.dox.h:2162
bool exists_function(string name)
Returns True if the function exists in the current program&#39;s function name space. ...
const SIGALRM
SIGALRM.
Definition: ql_misc.dox.h:2104
*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...
list< hash > get_module_list()
Returns a list of hashes describing the currently-loaded Qore modules.
string parseBase64StringToString(string str, *string encoding)
Parses a base64 encoded string and returns a string of the decoded data.
const CD_HTML
code for decoding HTML 5 named character references to their native symbols
Definition: ql_misc.dox.h:2019
const SIGTRAP
SIGTRAP.
Definition: ql_misc.dox.h:2166
const False
logical False
Definition: qc_qore.dox.h:92
string backquote(string cmd, *reference< int > rc)
Executes a process and returns a string of the output (stdout only)
hash< string, hash > get_module_hash()
Returns a hash of hashes describing the currently-loaded Qore modules; the top-level hash keys are th...
const SIGCONT
SIGCONT.
Definition: ql_misc.dox.h:2114
list list(...)
Returns an untyped list of the arguments passed at the top level.
hash get_local_vars(int frame)
retrieves a hash of local variables for the given stack frame
const CE_HTML
code for encoding HTML 5 symbols as named character references
Definition: ql_misc.dox.h:1969
nothing set_global_var_value(string name, auto value)
set the value of a global variable
nothing load_module(string name)
Loads in a Qore module at run-time.
const SIGLWP
SIGLWP.
Definition: ql_misc.dox.h:2142
string make_hex_string(string str)
Returns a hex-encoded representation of a string.
const SIGTTIN
SIGTTIN.
Definition: ql_misc.dox.h:2170
string html_decode(string str)
Returns a string with any HTML escape codes translated to the original characters.
int hextoint(string str)
Returns an integer for a hexadecimal string value; throws an exception if non-hex digits are found...
auto call_builtin_function(string name,...)
Calls a function and returns the return value, passing the remaining arguments after the function nam...
*string get_script_dir()
Returns the name of the directory from which the current script was executed or NOTHING if unknown (i...
nothing remove_signal_handler(softint signal)
Removes a signal handler and returns the signal handling state to the default.
const SIGJVM2
SIGJVM2.
Definition: ql_misc.dox.h:2136
const SIGCHLD
SIGCHLD.
Definition: ql_misc.dox.h:2110
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 ...
list hash_values(hash h)
Returns a list of all the values in the hash argument passed.
*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...
const SIGSEGV
SIGSEGV.
Definition: ql_misc.dox.h:2154
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...
bool exists(...)
A function performing the same role as the exists operator.
int get_parse_options()
returns the current parse options for the current Program object
const SIGEMT
SIGEMT.
Definition: ql_misc.dox.h:2116
list getFeatureList()
Returns a list of strings of the builtin and module-supplied features of Qore.
const SIGABRT
SIGABRT.
Definition: ql_misc.dox.h:2102
const CD_XML
code for decoding XML entities
Definition: ql_misc.dox.h:2042
string splice(string str)
This function always returns an empty string &quot;&quot;.
const SignalToName
maps signal numbers (as a string key) to the symbolic name for the signal
Definition: ql_misc.dox.h:2192
list get_feature_list()
Returns a list of strings of the builtin and module-supplied features of Qore.
*string functionType(string name)
Returns &quot;builtin&quot; (for a builtin function), &quot;user&quot; (for a user function), or NOTHING (if the function...
binary parse_hex_string(string hexstr)
Parses a hex-encoded string and returns the binary object.
const SIGFREEZE
SIGFREEZE.
Definition: ql_misc.dox.h:2120
*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...
string getClassName(object obj)
Returns the class name of the object passed.
const SIGPOLL
SIGPOLL.
Definition: ql_misc.dox.h:2146
const SIGXCPU
SIGXCPU.
Definition: ql_misc.dox.h:2186
string html_encode(string str)
Returns a string with characters needing HTML escaping translated to HTML escape codes.
const SIGHUP
SIGHUP.
Definition: ql_misc.dox.h:2122
const SIGILL
SIGILL.
Definition: ql_misc.dox.h:2124
string makeHexString(string str)
Returns a hex-encoded representation of a string.
binary parseBase64String(string str)
Parses a base64 encoded string and returns a binary object of the decoded data.
hash parse_url(string url, bool keep_brackets=False)
Parses a URL string and returns a hash of the components; throws an exception if the string cannot be...
hash get_global_vars()
returns a hash of global variables
binary parse_base64_string(string str)
Parses a base64 encoded string and returns a binary object of the decoded data.
const SIGJVM1
SIGJVM1.
Definition: ql_misc.dox.h:2134
hash< string, hash > getModuleHash()
Returns a hash of hashes describing the currently-loaded Qore modules; the top-level hash keys are th...
const SIGTSTP
SIGTSTP.
Definition: ql_misc.dox.h:2168
const SIGFPE
SIGFPE.
Definition: ql_misc.dox.h:2118
*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...
const SIGUSR1
SIGUSR1.
Definition: ql_misc.dox.h:2176
nothing reload_module(string name)
Reloads an already-loaded Qore module subject to code injection at run-time into Qore; the module&#39;s c...
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 ...
int strtoint(string num, softint base=10)
parses a string representing a number in a configurable base and returns the integer ...
const SIGWAITING
SIGWAITING.
Definition: ql_misc.dox.h:2182
const CD_NUM_REF
code for decoding numeric character references to symbols
Definition: ql_misc.dox.h:2023
bool existsFunction(string name)
Returns True if the function exists in the current program&#39;s function name space. ...
string get_class_name(object obj)
Returns the class name of the object passed.
string encode_url(string url, softbool encode_all=False)
Encodes URLs by substituting &#39;%&#39; characters with &#39;%25&#39;, spaces (&#39; &#39;) with &#39;%20&#39;, and non-ascii charac...
const SIGINT
SIGINT.
Definition: ql_misc.dox.h:2128
*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...
list get_qore_option_list()
Returns a list of hashes giving information about Qore library options for the current build...
const CD_ALL
code for decoding everything
Definition: ql_misc.dox.h:2011
const NameToSignal
maps signal names to signal values
Definition: ql_misc.dox.h:2054
string decode_uri_request(string uri)
Decodes percent-encoded codes in a URI path and converts &quot;+&quot; signs in the query component to spaces a...
const SIGXFSZ
SIGXFSZ.
Definition: ql_misc.dox.h:2188
string get_ex_pos(hash ex)
returns a descriptive string for an exception location; the source and offset information will also b...
hash hash(object obj)
Returns a hash of an object&#39;s members.
const SIGIOT
SIGIOT.
Definition: ql_misc.dox.h:2132
string makeBase64String(string str, softint maxlinelen=-1)
Returns a base64-encoded representation of a string.
*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...
bool has_key(hash h, string key)
Returns True if the given key exists in the hash (does not necessarily have to have a value assigned)...
const SIGPIPE
SIGPIPE.
Definition: ql_misc.dox.h:2144
const SIGCANCEL
SIGCANCEL.
Definition: ql_misc.dox.h:2108
hash get_qore_library_info()
Returns a hash of library build and version info.
const CE_NONASCII
code for encoding all non-ASCII symbols as numeric character references
Definition: ql_misc.dox.h:1975
const SIGXRES
SIGXRES.
Definition: ql_misc.dox.h:2190
const SIGTHAW
SIGTHAW.
Definition: ql_misc.dox.h:2164
const SIGLOST
SIGLOST.
Definition: ql_misc.dox.h:2140