Print this page
2837 - remove print/lp* from gate and use CUPS from userland

*** 25,36 **** * */ /* $Id: ipp-listener.c 146 2006-03-24 00:26:54Z njacobs $ */ - #pragma ident "%Z%%M% %I% %E% SMI" - #include <stdio.h> #include <stdlib.h> #include <string.h> #include <netinet/in.h> #include <assert.h> --- 25,34 ----
*** 149,159 **** { 0x400D, "cups-move-job", cups_move_job, OP_VENDOR }, { 0, NULL, NULL, OP_VENDOR } }; static int ! ipp_operation_name_to_index(char *name) { int i; for (i = 0; handlers[i].name != NULL; i++) if (strcasecmp(name, handlers[i].name) == 0) --- 147,157 ---- { 0x400D, "cups-move-job", cups_move_job, OP_VENDOR }, { 0, NULL, NULL, OP_VENDOR } }; static int ! ipp_operation_name_to_index(const char *name) { int i; for (i = 0; handlers[i].name != NULL; i++) if (strcasecmp(name, handlers[i].name) == 0)
*** 231,241 **** return (handlers[index].function); } static char ! type_to_boolean(char *type) { char result = PAPI_FALSE; if ((strcasecmp(type, "true") == 0) || (strcasecmp(type, "yes") == 0) || --- 229,239 ---- return (handlers[index].function); } static char ! type_to_boolean(const char *type) { char result = PAPI_FALSE; if ((strcasecmp(type, "true") == 0) || (strcasecmp(type, "yes") == 0) ||
*** 274,284 **** return (result); } papi_status_t ! ipp_configure_operation(papi_attribute_t ***list, char *operation, char *type) { papi_status_t result = PAPI_OPERATION_NOT_SUPPORTED; char boolean = PAPI_FALSE; if ((list == NULL) || (operation == NULL) || (type == NULL)) --- 272,282 ---- return (result); } papi_status_t ! ipp_configure_operation(papi_attribute_t ***list, const char *operation, const char *type) { papi_status_t result = PAPI_OPERATION_NOT_SUPPORTED; char boolean = PAPI_FALSE; if ((list == NULL) || (operation == NULL) || (type == NULL))