• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libxml/

Lines Matching defs:contentType

151     char *contentType;	/* the MIME type for the input */
154 char *encoding; /* encoding extracted from the contentType */
155 char *mimeType; /* Mime-Type extracted from the contentType */
416 if (ctxt->contentType != NULL) xmlFree(ctxt->contentType);
694 if (ctxt->contentType != NULL)
695 xmlFree(ctxt->contentType);
696 ctxt->contentType = xmlMemStrdup(cur);
705 charset = xmlStrstr(BAD_CAST ctxt->contentType, BAD_CAST "charset=");
719 if (ctxt->contentType != NULL) return;
721 ctxt->contentType = xmlMemStrdup(cur);
730 charset = xmlStrstr(BAD_CAST ctxt->contentType, BAD_CAST "charset=");
1139 * @contentType: if available the Content-Type information will be
1146 * The contentType, if provided must be freed by the caller
1150 xmlNanoHTTPOpen(const char *URL, char **contentType) {
1151 if (contentType != NULL) *contentType = NULL;
1152 return(xmlNanoHTTPMethod(URL, NULL, NULL, contentType, NULL, 0));
1158 * @contentType: if available the Content-Type information will be
1166 * The contentType, if provided must be freed by the caller
1170 xmlNanoHTTPOpenRedir(const char *URL, char **contentType, char **redir) {
1171 if (contentType != NULL) *contentType = NULL;
1173 return(xmlNanoHTTPMethodRedir(URL, NULL, NULL, contentType, redir, NULL,0));
1254 * @contentType: the Content-Type information IN and OUT
1264 * The contentType, or redir, if provided must be freed by the caller
1269 char **contentType, char **redir,
1332 if (contentType && *contentType)
1333 blen += strlen(*contentType) + 16;
1372 if (contentType != NULL && *contentType)
1373 p += snprintf(p, blen - (p - bp), "Content-Type: %s\r\n", *contentType);
1462 if (contentType != NULL) {
1463 if (ctxt->contentType != NULL)
1464 *contentType = xmlMemStrdup(ctxt->contentType);
1466 *contentType = NULL;
1479 if (ctxt->contentType != NULL)
1482 ctxt->returnValue, ctxt->contentType);
1497 * @contentType: the Content-Type information IN and OUT
1506 * The contentType, if provided must be freed by the caller
1511 char **contentType, const char *headers, int ilen) {
1512 return(xmlNanoHTTPMethodRedir(URL, method, input, contentType,
1520 * @contentType: if available the Content-Type information will be
1526 * Returns -1 in case of failure, 0 incase of success. The contentType,
1530 xmlNanoHTTPFetch(const char *URL, const char *filename, char **contentType) {
1537 ctxt = xmlNanoHTTPOpen(URL, contentType);
1546 if ((contentType != NULL) && (*contentType != NULL)) {
1547 xmlFree(*contentType);
1548 *contentType = NULL;
1761 char *contentType = NULL;
1765 xmlNanoHTTPFetch(argv[1], argv[2], &contentType);
1767 xmlNanoHTTPFetch(argv[1], "-", &contentType);
1768 if (contentType != NULL) xmlFree(contentType);