1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Added seek callback definitions in RPG wrappers

Made OS400 version compilable again
This commit is contained in:
Patrick Monnerat 2009-05-18 10:46:17 +00:00
parent 89fb7c85bf
commit 1e138c1401
2 changed files with 8 additions and 0 deletions

View File

@ -112,6 +112,13 @@
d HTTPPOST_CALLBACK... d HTTPPOST_CALLBACK...
d c X'00000040' d c X'00000040'
* *
d CURL_SEEKFUNC_OK...
d c 0
d CURL_SEEKFUNC_FAIL...
d c 1
d CURL_SEEKFUNC_CANTSEEK...
d c 2
*
d CURL_READFUNC_ABORT... d CURL_READFUNC_ABORT...
d c X'10000000' d c X'10000000'
d CURL_READFUNC_PAUSE... d CURL_READFUNC_PAUSE...

View File

@ -24,6 +24,7 @@
/* OS/400 additional support. */ /* OS/400 additional support. */
#include "curlbuild.h"
#include "config-os400.h" /* Not setup.h: we only need some defines. */ #include "config-os400.h" /* Not setup.h: we only need some defines. */
#include <sys/types.h> #include <sys/types.h>