/external/libcups/cups/ |
D | http.h | 436 typedef struct _http_s http_t; /**** HTTP connection type ****/ typedef 444 typedef int (*http_timeout_cb_t)(http_t *http, void *user_data); 453 extern void httpBlocking(http_t *http, int b) _CUPS_PUBLIC; 454 extern int httpCheck(http_t *http) _CUPS_PUBLIC; 455 extern void httpClearFields(http_t *http) _CUPS_PUBLIC; 456 extern void httpClose(http_t *http) _CUPS_PUBLIC; 457 extern http_t *httpConnect(const char *host, int port) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 … 458 extern http_t *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_… 459 extern int httpDelete(http_t *http, const char *uri) _CUPS_PUBLIC; 460 extern int httpEncryption(http_t *http, http_encryption_t e) _CUPS_PUBLIC; [all …]
|
D | cups.h | 62 # define CUPS_HTTP_DEFAULT (http_t *)0 294 typedef int (*cups_client_cert_cb_t)(http_t *http, void *tls, 315 typedef const char *(*cups_password_cb2_t)(const char *prompt, http_t *http, 322 typedef int (*cups_server_cert_cb_t)(http_t *http, void *tls, 333 extern ipp_t *cupsDoFileRequest(http_t *http, ipp_t *request, 336 extern ipp_t *cupsDoRequest(http_t *http, ipp_t *request, 383 extern int cupsDoAuthentication(http_t *http, const char *method, 386 extern http_status_t cupsGetFile(http_t *http, const char *resource, 388 extern http_status_t cupsGetFd(http_t *http, const char *resource, int fd) _CUPS_API_1_1_20; 389 extern http_status_t cupsPutFile(http_t *http, const char *resource, [all …]
|
D | http.c | 41 static void http_add_field(http_t *http, http_field_t field, const char *value, int append); 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, [all …]
|
D | http-private.h | 328 extern void _httpDisconnect(http_t *http) _CUPS_PRIVATE; 336 extern int _httpSetDigestAuthString(http_t *http, const char *nonce, const char *method, const cha… 339 extern size_t _httpTLSPending(http_t *http) _CUPS_PRIVATE; 340 extern int _httpTLSRead(http_t *http, char *buf, int len) _CUPS_PRIVATE; 342 extern int _httpTLSStart(http_t *http) _CUPS_PRIVATE; 343 extern void _httpTLSStop(http_t *http) _CUPS_PRIVATE; 344 extern int _httpTLSWrite(http_t *http, const char *buf, int len) _CUPS_PRIVATE; 345 extern int _httpUpdate(http_t *http, http_status_t *status) _CUPS_PRIVATE; 346 extern int _httpWait(http_t *http, int msec, int usessl) _CUPS_PRIVATE;
|
D | adminutil.h | 63 extern char *cupsAdminCreateWindowsPPD(http_t *http, const char *dest, 67 extern int cupsAdminGetServerSettings(http_t *http, 71 extern int cupsAdminSetServerSettings(http_t *http, 76 extern ipp_status_t cupsGetDevices(http_t *http, int timeout,
|
D | tls-boringssl.c | 223 return (send(((http_t *)h->ptr)->fd, str, strlen(str), 0)); in http_bio_puts() 236 http_t *http; /* HTTP connection */ in http_bio_read() 239 http = (http_t *)h->ptr; in http_bio_read() 271 return (send(((http_t *)h->ptr)->fd, buf, num, 0)); in http_bio_write() 291 _httpTLSPending(http_t *http) /* I - HTTP connection */ in _httpTLSPending() 302 _httpTLSRead(http_t *http, /* I - Connection to server */ in _httpTLSRead() 328 _httpTLSStart(http_t *http) /* I - Connection to server */ in _httpTLSStart() 466 _httpTLSStop(http_t *http) /* I - Connection to server */ in _httpTLSStop() 497 _httpTLSWrite(http_t *http, /* I - Connection to server */ in _httpTLSWrite()
|
D | testdest.c | 23 static void localize(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option, cons… 24 static void print_file(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *filename, … 25 static void show_conflicts(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, int num_options, c… 26 static void show_default(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option); 27 static void show_media(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, unsigned flags, const … 28 static void show_supported(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option… 41 http_t *http; /* Connection to destination */ in main() 268 localize(http_t *http, /* I - Connection to destination */ in localize() 404 print_file(http_t *http, /* I - Connection to destination */ in print_file() 473 http_t *http, /* I - Connection to destination */ in show_conflicts() [all …]
|
D | cups-private.h | 153 http_t *http; /* Current server connection */ 262 extern http_t *_cupsConnect(void) _CUPS_PRIVATE; 267 extern int _cupsGetDests(http_t *http, ipp_op_t op, const char *name, cups_dest_t **dests, cups_pt… 280 extern int _cupsSetNegotiateAuthString(http_t *http, const char *method, const char *resource) _CU…
|
D | ppd-util.c | 31 static int cups_get_printer_uri(http_t *http, const char *name, 83 cupsGetPPD2(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsGetPPD2() 124 cupsGetPPD3(http_t *http, /* I - HTTP connection or @code CUPS_HTTP_DEFAULT@ */ in cupsGetPPD3() 133 http_t *http2; /* Alternate HTTP connection */ in cupsGetPPD3() 474 cupsGetServerPPD(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsGetServerPPD() 542 http_t *http, /* I - Connection to server */ in cups_get_printer_uri()
|
D | dest-job.c | 30 cupsCancelDestJob(http_t *http, /* I - Connection to destination */ in cupsCancelDestJob() 69 http_t *http, /* I - Connection to destination */ in cupsCloseDestJob() 160 http_t *http, /* I - Connection to destination */ in cupsCreateDestJob() 257 http_t *http, /* I - Connection to destination */ in cupsFinishDestDocument() 309 http_t *http, /* I - Connection to destination */ in cupsStartDestDocument()
|
D | util.c | 63 cupsCancelJob2(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsCancelJob2() 152 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsCreateJob() 225 cupsFinishDocument(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsFinishDocument() 323 cupsGetDefault2(http_t *http) /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsGetDefault2() 416 cupsGetJobs2(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsGetJobs2() 724 http_t *http, /* I - Connection to server */ in cupsPrintFile2() 774 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsPrintFiles2() 904 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsStartDocument()
|
D | dest-localization.c | 21 static void cups_create_localizations(http_t *http, cups_dinfo_t *dinfo); 36 http_t *http, /* I - Connection to destination */ in cupsLocalizeDestMedia() 232 http_t *http, /* I - Connection to destination */ in cupsLocalizeDestOption() 272 http_t *http, /* I - Connection to destination */ in cupsLocalizeDestValue() 326 http_t *http, /* I - Connection to destination */ in cups_create_localizations() 329 http_t *http2; /* Connection for strings file */ in cups_create_localizations()
|
D | request.c | 40 cupsDoFileRequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsDoFileRequest() 96 cupsDoIORequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsDoIORequest() 285 cupsDoRequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsDoRequest() 307 cupsGetResponse(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsGetResponse() 531 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsReadResponseData() 580 cupsSendRequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsSendRequest() 900 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsWriteRequestData() 983 http_t * /* O - HTTP connection */
|
D | getputfile.c | 35 cupsGetFd(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsGetFd() 220 cupsGetFile(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsGetFile() 288 cupsPutFd(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsPutFd() 518 cupsPutFile(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ in cupsPutFile()
|
D | testthreads.c | 26 static void show_supported(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option… 96 http_t *http; /* Connection to destination */ in run_query() 128 show_supported(http_t *http, /* I - Connection to destination */ in show_supported()
|
D | cupspm.md | 22 `http_t`. The `CUPS_HTTP_DEFAULT` constant can be used when you want to talk to 325 cupsCopyDestInfo(http_t *http, cups_dest_t *dest); 343 cupsCheckDestSupported(http_t *http, cups_dest_t *dest, 392 cupsFindDestSupported(http_t *http, cups_dest_t *dest, 439 cupsFindDestDefault(http_t *http, cups_dest_t *dest, 484 cupsFindDestReady(http_t *http, cups_dest_t *dest, 528 cupsGetDestMediaByName(http_t *http, cups_dest_t *dest, 534 cupsGetDestMediaBySize(http_t *http, cups_dest_t *dest, 576 cupsGetDestMediaByIndex(http_t *http, cups_dest_t *dest, 581 cupsGetDestMediaCount(http_t *http, cups_dest_t *dest, [all …]
|
/external/libcups/cgi-bin/ |
D | cgi.h | 80 extern void cgiMoveJobs(http_t *http, const char *dest, int job_id); 81 extern void cgiPrintCommand(http_t *http, const char *dest, 83 extern void cgiPrintTestPage(http_t *http, const char *dest); 100 extern void cgiShowJobs(http_t *http, const char *dest);
|
D | classes.c | 21 static void do_class_op(http_t *http, const char *printer, ipp_op_t op, 23 static void show_all_classes(http_t *http, const char *username); 24 static void show_class(http_t *http, const char *printer); 36 http_t *http; /* Connection to the server */ in main() 205 do_class_op(http_t *http, /* I - HTTP connection */ in do_class_op() 288 show_all_classes(http_t *http, /* I - Connection to server */ in show_all_classes() 438 show_class(http_t *http, /* I - Connection to server */ in show_class()
|
D | printers.c | 22 static void do_printer_op(http_t *http, const char *printer, ipp_op_t op, 24 static void show_all_printers(http_t *http, const char *username); 25 static void show_printer(http_t *http, const char *printer); 37 http_t *http; /* Connection to the server */ in main() 214 do_printer_op(http_t *http, /* I - HTTP connection */ in do_printer_op() 295 show_all_printers(http_t *http, /* I - Connection to server */ in show_all_printers() 455 show_printer(http_t *http, /* I - Connection to server */ in show_printer()
|
D | jobs.c | 21 static void do_job_op(http_t *http, int job_id, ipp_op_t op); 31 http_t *http; /* Connection to the server */ in main() 126 do_job_op(http_t *http, /* I - HTTP connection */ in do_job_op()
|
D | admin.c | 39 static void do_am_class(http_t *http, int modify); 40 static void do_am_printer(http_t *http, int modify); 41 static void do_config_server(http_t *http); 42 static void do_delete_class(http_t *http); 43 static void do_delete_printer(http_t *http); 44 static void do_list_printers(http_t *http); 45 static void do_menu(http_t *http); 46 static void do_set_allowed_users(http_t *http); 47 static void do_set_default(http_t *http); 48 static void do_set_options(http_t *http, int is_class); [all …]
|
/external/libcups/berkeley/ |
D | lpq.c | 22 static http_t *connect_server(const char *, http_t *); 23 static int show_jobs(const char *, http_t *, const char *, 25 static void show_printer(const char *, http_t *, const char *); 38 http_t *http; /* Connection to server */ in main() 281 static http_t * /* O - New HTTP connection */ 283 http_t *http) /* I - Current HTTP connection */ in connect_server() 307 http_t *http, /* I - HTTP connection to server */ in show_jobs() 566 http_t *http, /* I - HTTP connection to server */ in show_printer()
|
D | lpc.c | 22 static void do_command(http_t *, const char *, const char *); 24 static void show_status(http_t *, const char *); 35 http_t *http; /* Connection to server */ in main() 165 do_command(http_t *http, /* I - HTTP connection to server */ in do_command() 208 show_status(http_t *http, /* I - HTTP connection to server */ in show_status()
|
/external/libcups/systemv/ |
D | lpadmin.c | 23 static int add_printer_to_class(http_t *http, char *printer, char *pclass); 24 static int default_printer(http_t *http, char *printer); 25 static int delete_printer(http_t *http, char *printer); 26 static int delete_printer_from_class(http_t *http, char *printer, 28 static int delete_printer_option(http_t *http, char *printer, 30 static int enable_printer(http_t *http, char *printer); 32 static cups_ptype_t get_printer_type(http_t *http, char *printer, char *uri, 34 static int set_printer_options(http_t *http, char *printer, 50 http_t *http; /* Connection to server */ in main() 686 add_printer_to_class(http_t *http, /* I - Server connection */ in add_printer_to_class() [all …]
|
D | lpmove.c | 22 static int move_job(http_t *http, const char *src, int jobid, const char *dest); 35 http_t *http; /* Connection to server */ in main() 143 move_job(http_t *http, /* I - HTTP connection to server */ in move_job()
|