All Classes Namespaces Functions Variables Groups Pages
ql_misc.dox.h
namespace Qore {
nothing remove_signal_handler(softint signal);
nothing set_signal_handler(softint signal, code f);
};
namespace Qore {
string backquote(string cmd);
nothing backquote();
any call_builtin_function(string name, ...);
any call_builtin_function_args(string name, *softlist vargs);
any call_function(string name, ...);
any call_function(code f, ...);
any call_function_args(string name, *softlist vargs);
any call_function_args(code f, *softlist vargs);
string decode_url(string url);
nothing decode_url();
bool exists( ...);
bool existsFunction(string name);
bool existsFunction(code c);
nothing existsFunction();
*string functionType(string name);
nothing functionType();
*int getByte(string str, softint offset = 0);
nothing getByte();
*int getByte(binary b, softint offset = 0);
string getClassName(object obj);
nothing getClassName();
list getFeatureList();
hash getModuleHash();
list getModuleList();
*int getWord32(string str, softint offset = 0);
*int getWord32(binary b, softint offset = 0);
nothing getWord32();
*int get_byte(string str, softint offset = 0);
*int get_byte(binary b, softint offset = 0);
string get_default_encoding();
string get_ex_pos(hash ex);
int get_parse_options();
hash get_qore_library_info();
hash get_qore_option_hash();
list get_qore_option_list();
*string get_script_dir();
*string get_script_name();
*string get_script_path();
*int get_word_16(string str, softint offset = 0);
*int get_word_16(binary b, softint offset = 0);
*int get_word_16_lsb(string str, softint offset = 0);
*int get_word_16_lsb(binary b, softint offset = 0);
*int get_word_32(string str, softint offset = 0);
*int get_word_32(binary b, softint offset = 0);
*int get_word_32_lsb(string str, softint offset = 0);
*int get_word_32_lsb(binary b, softint offset = 0);
*int get_word_64(string str, softint offset = 0);
*int get_word_64(binary b, softint offset = 0);
*int get_word_64_lsb(string str, softint offset = 0);
*int get_word_64_lsb(binary b, softint offset = 0);
bool has_key(hash h, string key);
bool has_key(object obj, string key);
list hash_values(hash h);
nothing hash_values();
int hextoint(string str);
nothing hextoint();
string html_decode(string str);
nothing html_decode();
string html_encode(string str);
nothing html_encode();
nothing load_module(string name);
nothing load_module();
string makeBase64String(string str, softint maxlinelen = -1);
string makeBase64String(binary bin, softint maxlinelen = -1);
nothing makeBase64String();
string makeHexString(string str);
string makeHexString(binary bin);
nothing makeHexString();
*hash parse(string code, string label, *softint warning_mask, *string source, *softint offset, softbool format_label = True);
nothing parse();
binary parseBase64String(string str);
nothing parseBase64String();
string parseBase64StringToString(string str, *string encoding);
nothing parseBase64StringToString();
binary parseHexString(string hexstr);
nothing parseHexString();
*hash parseURL(string url, bool keep_brackets = False);
nothing parseURL();
hash parse_url(string url, bool keep_brackets = False);
string splice(string str);
string splice(string str, softint start);
string splice(string str, softint start, softint len, *string nstr);
list splice(list l, softint start);
list splice(list l, softint start, softint len, *softlist nlist);
nothing splice();
int strtoint(string num, softint base = 10);
nothing strtoint();
};
namespace Qore {
const NameToSignal = (
"SIGABRT": SIGABRT,
"SIGALRM": SIGALRM,
"SIGBUS": SIGBUS,
"SIGCANCEL": SIGCANCEL,
"SIGCHLD": SIGCHLD,
"SIGCLD": SIGCLD,
"SIGCONT": SIGCONT,
"SIGEMT": SIGEMT,
"SIGFPE": SIGFPE,
"SIGFREEZE": SIGFREEZE,
"SIGHUP": SIGHUP,
"SIGILL": SIGILL,
"SIGINFO": SIGINFO,
"SIGINT": SIGINT,
"SIGIO": SIGIO,
"SIGIOT": SIGIOT,
"SIGJVM1": SIGJVM1,
"SIGJVM2": SIGJVM2,
"SIGKILL": SIGKILL,
"SIGLOST": SIGLOST,
"SIGLWP": SIGLWP,
"SIGPIPE": SIGPIPE,
"SIGPOLL": SIGPOLL,
"SIGPROF": SIGPROF,
"SIGPWR": SIGPWR,
"SIGQUIT": SIGQUIT,
"SIGSEGV": SIGSEGV,
"SIGSTKFLT": SIGSTKFLT,
"SIGSTOP": SIGSTOP,
"SIGSYS": SIGSYS,
"SIGTERM": SIGTERM,
"SIGTHAW": SIGTHAW,
"SIGTRAP": SIGTRAP,
"SIGTSTP": SIGTSTP,
"SIGTTIN": SIGTTIN,
"SIGTTOU": SIGTTOU,
"SIGURG": SIGURG,
"SIGUSR1": SIGUSR1,
"SIGUSR2": SIGUSR2,
"SIGVTALRM": SIGVTALRM,
"SIGWAITING": SIGWAITING,
"SIGWINCH": SIGWINCH,
"SIGXCPU": SIGXCPU,
"SIGXFSZ": SIGXFSZ,
"SIGXRES": SIGXRES,
);
const SIGABRT = SIGABRT;
const SIGALRM = SIGALRM;
const SIGBUS = SIGBUS;
const SIGCANCEL = SIGCANCEL;
const SIGCHLD = SIGCHLD;
const SIGCLD = SIGCLD;
const SIGCONT = SIGCONT;
const SIGEMT = SIGEMT;
const SIGFPE = SIGFPE;
const SIGFREEZE = SIGFREEZE;
const SIGHUP = SIGHUP;
const SIGILL = SIGILL;
const SIGINFO = SIGINFO;
const SIGINT = SIGINT;
const SIGIO = SIGIO;
const SIGIOT = SIGIOT;
const SIGJVM1 = SIGJVM1;
const SIGJVM2 = SIGJVM2;
const SIGKILL = SIGKILL;
const SIGLOST = SIGLOST;
const SIGLWP = SIGLWP;
const SIGPIPE = SIGPIPE;
const SIGPOLL = SIGPOLL;
const SIGPROF = SIGPROF;
const SIGPWR = SIGPWR;
const SIGQUIT = SIGQUIT;
const SIGSEGV = SIGSEGV;
const SIGSTKFLT = SIGSTKFLT;
const SIGSTOP = SIGSTOP;
const SIGSYS = SIGSYS;
const SIGTERM = SIGTERM;
const SIGTHAW = SIGTHAW;
const SIGTRAP = SIGTRAP;
const SIGTSTP = SIGTSTP;
const SIGTTIN = SIGTTIN;
const SIGTTOU = SIGTTOU;
const SIGURG = SIGURG;
const SIGUSR1 = SIGUSR1;
const SIGUSR2 = SIGUSR2;
const SIGVTALRM = SIGVTALRM;
const SIGWAITING = SIGWAITING;
const SIGWINCH = SIGWINCH;
const SIGXCPU = SIGXCPU;
const SIGXFSZ = SIGXFSZ;
const SIGXRES = SIGXRES;
const SignalToName = (
SIGABRT: "SIGABRT",
SIGALRM: "SIGALRM",
SIGBUS: "SIGBUS",
SIGCANCEL: "SIGCANCEL",
SIGCHLD: "SIGCHLD",
SIGCONT: "SIGCONT",
SIGEMT: "SIGEMT",
SIGFPE: "SIGFPE",
SIGFREEZE: "SIGFREEZE",
SIGHUP: "SIGHUP",
SIGILL: "SIGILL",
SIGINFO: "SIGINFO",
SIGINT: "SIGINT",
SIGIO: "SIGIO",
SIGIOT: "SIGIOT",
SIGJVM1: "SIGJVM1",
SIGJVM2: "SIGJVM2",
SIGKILL: "SIGKILL",
SIGLOST: "SIGLOST",
SIGLWP: "SIGLWP",
SIGPIPE: "SIGPIPE",
SIGPOLL: "SIGPOLL",
SIGPROF: "SIGPROF",
SIGPWR: "SIGPWR",
SIGQUIT: "SIGQUIT",
SIGSEGV: "SIGSEGV",
SIGSTKSZ: "SIGSTKSZ",
SIGSTOP: "SIGSTOP",
SIGSYS: "SIGSYS",
SIGTERM: "SIGTERM",
SIGTHAW: "SIGTHAW",
SIGTRAP: "SIGTRAP",
SIGTSTP: "SIGTSTP",
SIGTTIN: "SIGTTIN",
SIGTTOU: "SIGTTOU",
SIGURG: "SIGURG",
SIGUSR1: "SIGUSR1",
SIGUSR2: "SIGUSR2",
SIGVTALRM: "SIGVTALRM",
SIGWAITING: "SIGWAITING",
SIGWINCH: "SIGWINCH",
SIGXCPU: "SIGXCPU",
SIGXFSZ: "SIGXFSZ",
SIGXRES: "SIGXRES",
);
};