Searched refs:MAX_MIME_LENGTH (Results 1 – 3 of 3) sorted by relevance
32 char mime_types[_MAX_MIME_TYPES][MAX_MIME_LENGTH + 1];33 char print_formats[_MAX_PRINT_FORMATS][MAX_MIME_LENGTH + 1];71 if (strlen(mt[i]) < MAX_MIME_LENGTH) { in plugin_add()73 strncpy(_plugin[index].mime_types[j++], mt[i], MAX_MIME_LENGTH); in plugin_add()85 if (strlen(pf[i]) < MAX_MIME_LENGTH) { in plugin_add()87 strncpy(_plugin[index].print_formats[j++], pf[i], MAX_MIME_LENGTH); in plugin_add()
431 size = MAX_MIME_LENGTH + MAX_PRINTER_ADDR_LENGTH + MAX_PATHNAME_LENGTH + 4; in _get_handle()443 ptr += (MAX_MIME_LENGTH + 1); in _get_handle()1890 strncpy(jq->mime_type, mime_type, MAX_MIME_LENGTH); in wprintStartJob()
49 #define MAX_MIME_LENGTH (64) macro