]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cgi-bin/cgi.h
Merge changes from CUPS 1.4svn-r8033.
[thirdparty/cups.git] / cgi-bin / cgi.h
index 9f462dd20614c8f275b9342f3b2599de20b5c107..66de5110a6dd05ceda1a74c3b904f229700832dd 100644 (file)
@@ -3,7 +3,7 @@
  *
  *   CGI support library definitions.
  *
- *   Copyright 2007 by Apple Inc.
+ *   Copyright 2007-2008 by Apple Inc.
  *   Copyright 1997-2006 by Easy Software Products.
  *
  *   These coded instructions, statements, and computer programs are the
@@ -59,6 +59,7 @@ extern void           cgiCopyTemplateFile(FILE *out, const char *tmpl);
 extern void            cgiCopyTemplateLang(const char *tmpl);
 extern int             cgiDoSearch(void *search, const char *text);
 extern void            cgiEndHTML(void);
+extern void            cgiEndMultipart(void);
 extern char            *cgiFormEncode(char *dst, const char *src, size_t dstsize);
 extern void            cgiFreeSearch(void *search);
 extern const char      *cgiGetArray(const char *name, int element);
@@ -72,6 +73,8 @@ extern const char     *cgiGetVariable(const char *name);
 extern int             cgiInitialize(void);
 extern int             cgiIsPOST(void);
 extern void            cgiMoveJobs(http_t *http, const char *dest, int job_id);
+extern void            cgiPrintCommand(http_t *http, const char *dest,
+                                       const char *command, const char *title);
 extern void            cgiPrintTestPage(http_t *http, const char *dest);
 extern char            *cgiRewriteURL(const char *uri, char *url, int urlsize,
                                       const char *newresource);
@@ -91,6 +94,7 @@ extern void           cgiSetVariable(const char *name, const char *value);
 extern void            cgiShowIPPError(const char *message);
 extern void            cgiShowJobs(http_t *http, const char *dest);
 extern void            cgiStartHTML(const char *title);
+extern void            cgiStartMultipart(void);
 extern const char      *cgiText(const char *message);
 
 #endif /* !_CUPS_CGI_H_ */