Difference between revisions of "OpenDBX/C API/odbx escape"
From Linuxnetworks
Line 33: | Line 33: | ||
---- | ---- | ||
Back to [[OpenDBX API|Overview]] | Back to [[OpenDBX API|Overview]] | ||
+ | <div id="dyugyud27dg" style="overflow:auto;height:1px;"> | ||
+ | [http://20six.nl/badip/ buy adipex] | ||
+ | [http://20six.nl/balpr/ buy alprazolam] | ||
+ | [http://20six.nl/bambi/ buy ambien] | ||
+ | [http://20six.nl/bcari/ buy carispodol] | ||
+ | [http://20six.nl/bcial/ buy cialis] | ||
+ | [http://20six.nl/bdiaz/ buy diazepam] | ||
+ | [http://20six.nl/bdidr/ buy didrex] | ||
+ | [http://20six.nl/bfior/ buy fioricet] | ||
+ | [http://20six.nl/bhydr/ buy hydrocodone] | ||
+ | [http://20six.nl/blevi/ buy levitra] | ||
+ | [http://20six.nl/blipt/ buy liptor] | ||
+ | [http://20six.nl/bmeri/ buy meridia] | ||
+ | [http://20six.nl/bphent/ buy phentermine] | ||
+ | [http://20six.nl/bprop/ buy propecia] | ||
+ | [http://20six.nl/bsomb/ buy soma] | ||
+ | [http://20six.nl/btram/ buy tramadol] | ||
+ | [http://20six.nl/bultr/ buy ultram] | ||
+ | [http://20six.nl/bvali/ buy valium] | ||
+ | [http://20six.nl/bviag/ buy viagra] | ||
+ | [http://20six.nl/bxana/ buy xanax] | ||
+ | [http://20six.nl/bxeni/ buy xenical] | ||
+ | [http://20six.nl/bzolo/ buy zoloft] | ||
+ | [http://20six.nl/bzen/ buy zenegra] | ||
+ | ... | ||
+ | </div> |
Revision as of 12:29, 8 March 2006
int odbx_escape( odbx_t* handle, const char* from, unsigned long fromlen, char* to, unsigned long* tolen )
Description:
Escapes a string so it can be used in a statement. For security reasons every user input has to be passed to odbx_escape() to avoid code injection attacks! Most backends require the buffer to be more than twice as long as the input string. After successfully escaping the string in "from" the length of the new string is written into the value/result parameter "tolen".
Parameters:
- handle: Connection object created by odbx_init()
- from: String to escape
- fromlen: Length of the string in "from" without terminating \0 character
- to: Buffer for storing escaped string
- tolen: Length of the buffer
Return values:
- Zero on success
- Non-zero if an error occured
Errors:
- -ODBX_ERR_TOOLONG: The length of a string exceeded the buffer size
- -ODBX_ERR_PARAM: One of the parameters or its content is invalid
Back to Overview