HomeSort by relevance Sort by last modified time
    Searched refs:http_t (Results 1 - 25 of 38) sorted by null

1 2

  /external/libcups/cups/
http.h 436 typedef struct _http_s http_t; /**** HTTP connection type ****/ typedef in typeref:struct:_http_s
444 typedef int (*http_timeout_cb_t)(http_t *http, void *user_data);
453 extern void httpBlocking(http_t *http, int b);
454 extern int httpCheck(http_t *http);
455 extern void httpClearFields(http_t *http);
456 extern void httpClose(http_t *http);
457 extern http_t *httpConnect(const char *host, int port)
459 extern http_t *httpConnectEncrypt(const char *host, int port,
462 extern int httpDelete(http_t *http, const char *uri);
463 extern int httpEncryption(http_t *http, http_encryption_t e)
    [all...]
adminutil.h 69 extern char *cupsAdminCreateWindowsPPD(http_t *http, const char *dest,
73 extern int cupsAdminGetServerSettings(http_t *http,
77 extern int cupsAdminSetServerSettings(http_t *http,
82 extern ipp_status_t cupsGetDevices(http_t *http, int timeout,
cups.h 67 # define CUPS_HTTP_DEFAULT (http_t *)0
298 typedef int (*cups_client_cert_cb_t)(http_t *http, void *tls,
318 typedef const char *(*cups_password_cb2_t)(const char *prompt, http_t *http,
325 typedef int (*cups_server_cert_cb_t)(http_t *http, void *tls,
336 extern ipp_t *cupsDoFileRequest(http_t *http, ipp_t *request,
339 extern ipp_t *cupsDoRequest(http_t *http, ipp_t *request,
386 extern int cupsDoAuthentication(http_t *http, const char *method,
389 extern http_status_t cupsGetFile(http_t *http, const char *resource,
391 extern http_status_t cupsGetFd(http_t *http, const char *resource, int fd);
392 extern http_status_t cupsPutFile(http_t *http, const char *resource
    [all...]
http.c 43 static void http_content_coding_finish(http_t *http);
44 static void http_content_coding_start(http_t *http,
47 static http_t *http_create(const char *host, int port,
55 static ssize_t http_read(http_t *http, char *buffer, size_t length);
56 static ssize_t http_read_buffered(http_t *http, char *buffer, size_t length);
57 static ssize_t http_read_chunk(http_t *http, char *buffer, size_t length);
58 static int http_send(http_t *http, http_state_t request,
60 static ssize_t http_write(http_t *http, const char *buffer,
62 static ssize_t http_write_chunk(http_t *http, const char *buffer,
64 static off_t http_set_length(http_t *http)
    [all...]
http-private.h 430 extern void _httpDisconnect(http_t *http);
440 extern size_t _httpTLSPending(http_t *http);
441 extern int _httpTLSRead(http_t *http, char *buf, int len);
442 extern int _httpTLSSetCredentials(http_t *http);
444 extern int _httpTLSStart(http_t *http);
445 extern void _httpTLSStop(http_t *http);
446 extern int _httpTLSWrite(http_t *http, const char *buf, int len);
447 extern int _httpUpdate(http_t *http, http_status_t *status);
448 extern int _httpWait(http_t *http, int msec, int usessl);
tls-boringssl.c 305 return (send(((http_t *)h->ptr)->fd, str, strlen(str), 0));
318 http_t *http; /* HTTP connection */
321 http = (http_t *)h->ptr;
353 return (send(((http_t *)h->ptr)->fd, buf, num, 0));
393 _httpTLSPending(http_t *http) /* I - HTTP connection */
404 _httpTLSRead(http_t *http, /* I - Connection to server */
428 _httpTLSStart(http_t *http) /* I - Connection to server */
537 _httpTLSStop(http_t *http) /* I - Connection to server */
569 _httpTLSWrite(http_t *http, /* I - Connection to server */
cups-private.h 131 http_t *http; /* Current server connection */
238 extern http_t *_cupsConnect(void);
244 extern int _cupsGetDests(http_t *http, ipp_op_t op,
260 extern int _cupsSetNegotiateAuthString(http_t *http,
testadmin.c 42 http_t *http; /* Connection to server */
tls.c 53 httpCopyCredentials(http_t *http, cups_array_t **credentials)
testdest.c 29 static void localize(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option, const char *value);
30 static void print_file(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *filename, int num_options, cups_option_t *options);
31 static void show_conflicts(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, int num_options, cups_option_t *options);
32 static void show_default(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option);
33 static void show_media(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, unsigned flags, const char *name);
34 static void show_supported(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option, const char *value);
46 http_t *http; /* Connection to destination */
237 localize(http_t *http, /* I - Connection to destination */
373 print_file(http_t *http, /* I - Connection to destination */
442 http_t *http, /* I - Connection to destination *
    [all...]
dest-job.c 35 cupsCancelDestJob(http_t *http, /* I - Connection to destination */
74 http_t *http, /* I - Connection to destination */
158 http_t *http, /* I - Connection to destination */
248 http_t *http, /* I - Connection to destination */
293 http_t *http, /* I - Connection to destination */
dest-localization.c 26 static void cups_create_localizations(http_t *http, cups_dinfo_t *dinfo);
44 http_t *http, /* I - Connection to destination */
208 http_t *http, /* I - Connection to destination */
247 http_t *http, /* I - Connection to destination */
284 http_t *http, /* I - Connection to destination */
287 http_t *http2; /* Connection for strings file */
getputfile.c 39 cupsGetFd(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
194 cupsGetFile(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
262 cupsPutFd(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
462 cupsPutFile(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
testcreds.c 31 http_t *http; /* HTTP connection */
ppd-util.c 35 static int cups_get_printer_uri(http_t *http, const char *name,
87 cupsGetPPD2(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
128 cupsGetPPD3(http_t *http, /* I - HTTP connection or @code CUPS_HTTP_DEFAULT@ */
137 http_t *http2; /* Alternate HTTP connection */
436 cupsGetServerPPD(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
504 http_t *http, /* I - Connection to server */
515 http_t *http2; /* Alternate HTTP connection */
request.c 45 cupsDoFileRequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
101 cupsDoIORequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
295 cupsDoRequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
317 cupsGetResponse(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
541 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
577 * response. Only one request can be sent/queued at a time per @code http_t@
590 cupsSendRequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
897 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
980 http_t * /* O - HTTP connection */
util.c 65 cupsCancelJob2(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
154 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
233 cupsFinishDocument(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
329 cupsGetDefault2(http_t *http) /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
420 cupsGetJobs2(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
726 http_t *http, /* I - Connection to server */
774 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
904 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
tls-gnutls.c 299 http_t *http, /* I - Connection to server */
1089 http_t *http; /* HTTP connection */
1095 http = (http_t *)ptr;
1134 bytes = send(((http_t *)ptr)->fd, data, length, 0);
1161 _httpTLSPending(http_t *http) /* I - HTTP connection */
1172 _httpTLSRead(http_t *http, /* I - Connection to server */
1214 _httpTLSSetCredentials(http_t *http) /* I - Connection to server */
1238 _httpTLSStart(http_t *http) /* I - Connection to server */
    [all...]
dest-options.c 39 static void cups_create_cached(http_t *http, cups_dinfo_t *dinfo,
46 static int cups_get_media_db(http_t *http, cups_dinfo_t *dinfo,
58 static void cups_update_ready(http_t *http, cups_dinfo_t *dinfo);
72 http_t *http, /* I - Connection to destination */
269 http_t *http, /* I - Connection to destination */
554 http_t *http, /* I - Connection to destination */
680 http_t *http, /* I - Connection to destination */
721 http_t *http, /* I - Connection to destination */
764 http_t *http, /* I - Connection to destination */
843 http_t *http, /* I - Connection to destination *
    [all...]
auth.c 88 static gss_name_t cups_gss_getname(http_t *http, const char *service_name);
96 static int cups_local_auth(http_t *http);
110 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
292 http_t *http, /* I - Connection to server */
505 http_t *http, /* I - Connection to server */
640 cups_local_auth(http_t *http) /* I - HTTP connection to server */
ppd.h 365 extern const char *cupsGetPPD2(http_t *http, const char *name) _PPD_DEPRECATED;
366 extern http_status_t cupsGetPPD3(http_t *http, const char *name, time_t *modtime, char *buffer, size_t bufsize) _PPD_DEPRECATED;
367 extern char *cupsGetServerPPD(http_t *http, const char *name) _PPD_DEPRECATED;
tls-darwin.c 71 static int http_cdsa_set_credentials(http_t *http);
431 http_t *http, /* I - Connection to server */
1076 _httpTLSPending(http_t *http) /* I - HTTP connection */
1093 _httpTLSRead(http_t *http, /* I - HTTP connection */
1153 _httpTLSStart(http_t *http) /* I - HTTP connection */
    [all...]
tls-sspi.c 63 static int http_sspi_client(http_t *http, const char *hostname);
65 static BOOL http_sspi_find_credentials(http_t *http, const LPWSTR containerName, const char *common_name);
68 static int http_sspi_server(http_t *http, const char *hostname);
142 http_t *http, /* I - Connection to server */
690 _httpTLSPending(http_t *http) /* I - HTTP connection */
704 _httpTLSRead(http_t *http, /* I - HTTP connection */
925 _httpTLSStart(http_t *http) /* I - HTTP connection */
1015 _httpTLSStop(http_t *http) /* I - HTTP connection */
1117 _httpTLSWrite(http_t *http, /* I - HTTP connection */
    [all...]
http-addr.c 657 httpGetAddress(http_t *http) /* I - HTTP connection */
788 httpGetHostname(http_t *http, /* I - HTTP connection or NULL */
902 httpResolveHostname(http_t *http, /* I - HTTP connection */
  /packages/services/BuiltInPrintService/jni/ipphelper/
ipphelper.h 78 extern ipp_status_t get_PrinterState(http_t *http, char *printer_uri,
95 extern status_t set_ipp_version(ipp_t *, char *, http_t *, ipp_version_state);
139 http_t *ipp_cups_connect(const wprint_connect_info_t *info, char *printer_uri,
145 ipp_t *ipp_doCupsRequest(http_t *http, ipp_t *request, char *http_resource, char *printer_uri);

Completed in 550 milliseconds

1 2