1<testcase> 2<info> 3<keywords> 4source analysis 5CURL_EXTERN 6</keywords> 7</info> 8 9# 10# Client-side 11<client> 12<server> 13none 14</server> 15 16# The VMS and OS/400 builds extract the CURL_EXTERN protos and use in 17# the build. We break binary compatibility by changing order. Only add 18# new entries last or bump the SONAME. 19# 20 <name> 21Verify CURL_EXTERN order 22 </name> 23 24<command type="perl"> 25%SRCDIR/extern-scan.pl %SRCDIR/.. 26</command> 27</client> 28 29<verify> 30<stdout> 31CURL_EXTERN int curl_strequal(const char *s1, const char *s2); 32CURL_EXTERN int curl_strnequal(const char *s1, const char *s2, size_t n); 33CURL_EXTERN curl_mime *curl_mime_init(CURL *easy); 34CURL_EXTERN void curl_mime_free(curl_mime *mime); 35CURL_EXTERN curl_mimepart *curl_mime_addpart(curl_mime *mime); 36CURL_EXTERN CURLcode curl_mime_name(curl_mimepart *part, const char *name); 37CURL_EXTERN CURLcode curl_mime_filename(curl_mimepart *part, 38CURL_EXTERN CURLcode curl_mime_type(curl_mimepart *part, const char *mimetype); 39CURL_EXTERN CURLcode curl_mime_encoder(curl_mimepart *part, 40CURL_EXTERN CURLcode curl_mime_data(curl_mimepart *part, 41CURL_EXTERN CURLcode curl_mime_filedata(curl_mimepart *part, 42CURL_EXTERN CURLcode curl_mime_data_cb(curl_mimepart *part, 43CURL_EXTERN CURLcode curl_mime_subparts(curl_mimepart *part, 44CURL_EXTERN CURLcode curl_mime_headers(curl_mimepart *part, 45CURL_EXTERN CURLFORMcode curl_formadd(struct curl_httppost **httppost, 46CURL_EXTERN int curl_formget(struct curl_httppost *form, void *arg, 47CURL_EXTERN void curl_formfree(struct curl_httppost *form); 48CURL_EXTERN char *curl_getenv(const char *variable); 49CURL_EXTERN char *curl_version(void); 50CURL_EXTERN char *curl_easy_escape(CURL *handle, 51CURL_EXTERN char *curl_escape(const char *string, 52CURL_EXTERN char *curl_easy_unescape(CURL *handle, 53CURL_EXTERN char *curl_unescape(const char *string, 54CURL_EXTERN void curl_free(void *p); 55CURL_EXTERN CURLcode curl_global_init(long flags); 56CURL_EXTERN CURLcode curl_global_init_mem(long flags, 57CURL_EXTERN void curl_global_cleanup(void); 58CURL_EXTERN CURLsslset curl_global_sslset(curl_sslbackend id, const char *name, 59CURL_EXTERN struct curl_slist *curl_slist_append(struct curl_slist *, 60CURL_EXTERN void curl_slist_free_all(struct curl_slist *); 61CURL_EXTERN time_t curl_getdate(const char *p, const time_t *unused); 62CURL_EXTERN CURLSH *curl_share_init(void); 63CURL_EXTERN CURLSHcode curl_share_setopt(CURLSH *, CURLSHoption option, ...); 64CURL_EXTERN CURLSHcode curl_share_cleanup(CURLSH *); 65CURL_EXTERN curl_version_info_data *curl_version_info(CURLversion); 66CURL_EXTERN const char *curl_easy_strerror(CURLcode); 67CURL_EXTERN const char *curl_share_strerror(CURLSHcode); 68CURL_EXTERN CURLcode curl_easy_pause(CURL *handle, int bitmask); 69CURL_EXTERN CURL *curl_easy_init(void); 70CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); 71CURL_EXTERN CURLcode curl_easy_perform(CURL *curl); 72CURL_EXTERN void curl_easy_cleanup(CURL *curl); 73CURL_EXTERN CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ...); 74CURL_EXTERN CURL *curl_easy_duphandle(CURL *curl); 75CURL_EXTERN void curl_easy_reset(CURL *curl); 76CURL_EXTERN CURLcode curl_easy_recv(CURL *curl, void *buffer, size_t buflen, 77CURL_EXTERN CURLcode curl_easy_send(CURL *curl, const void *buffer, 78CURL_EXTERN CURLcode curl_easy_upkeep(CURL *curl); 79CURL_EXTERN int curl_mprintf(const char *format, ...); 80CURL_EXTERN int curl_mfprintf(FILE *fd, const char *format, ...); 81CURL_EXTERN int curl_msprintf(char *buffer, const char *format, ...); 82CURL_EXTERN int curl_msnprintf(char *buffer, size_t maxlength, 83CURL_EXTERN int curl_mvprintf(const char *format, va_list args); 84CURL_EXTERN int curl_mvfprintf(FILE *fd, const char *format, va_list args); 85CURL_EXTERN int curl_mvsprintf(char *buffer, const char *format, va_list args); 86CURL_EXTERN int curl_mvsnprintf(char *buffer, size_t maxlength, 87CURL_EXTERN char *curl_maprintf(const char *format, ...); 88CURL_EXTERN char *curl_mvaprintf(const char *format, va_list args); 89CURL_EXTERN CURLM *curl_multi_init(void); 90CURL_EXTERN CURLMcode curl_multi_add_handle(CURLM *multi_handle, 91CURL_EXTERN CURLMcode curl_multi_remove_handle(CURLM *multi_handle, 92CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle, 93CURL_EXTERN CURLMcode curl_multi_wait(CURLM *multi_handle, 94CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle, 95CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle); 96CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle, 97CURL_EXTERN const char *curl_multi_strerror(CURLMcode); 98CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s, 99CURL_EXTERN CURLMcode curl_multi_socket_action(CURLM *multi_handle, 100CURL_EXTERN CURLMcode curl_multi_socket_all(CURLM *multi_handle, 101CURL_EXTERN CURLMcode curl_multi_timeout(CURLM *multi_handle, 102CURL_EXTERN CURLMcode curl_multi_setopt(CURLM *multi_handle, 103CURL_EXTERN CURLMcode curl_multi_assign(CURLM *multi_handle, 104CURL_EXTERN char *curl_pushheader_bynum(struct curl_pushheaders *h, 105CURL_EXTERN char *curl_pushheader_byname(struct curl_pushheaders *h, 106</stdout> 107</verify> 108 109</testcase> 110