/*
- * "$Id: http-private.h 6933 2007-09-10 16:45:59Z mike $"
+ * "$Id: http-private.h 7850 2008-08-20 00:07:25Z mike $"
*
- * Private HTTP definitions for the Common UNIX Printing System (CUPS).
+ * Private HTTP definitions for CUPS.
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2010 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
* These coded instructions, statements, and computer programs are the
* Include necessary headers...
*/
+# include "config.h"
+# include <stddef.h>
# include <stdlib.h>
-# include <config.h>
# ifdef __sun
# include <sys/select.h>
typedef int socklen_t;
# endif /* __sgi || (__APPLE__ && !_SOCKLEN_T) */
-# include "http.h"
-# include "md5.h"
+# include <cups/http.h>
+# include "md5-private.h"
# include "ipp-private.h"
# if defined HAVE_LIBSSL
# endif /* HAVE_GETIFADDRS */
# endif /* !WIN32 */
+/*
+ * Prototypes...
+ */
+
+extern int _httpAddrPort(http_addr_t *addr);
+extern http_t *_httpCreate(const char *host, int port,
+ http_encryption_t encryption);
+extern char *_httpEncodeURI(char *dst, const char *src,
+ size_t dstsize);
+extern const char *_httpResolveURI(const char *uri, char *resolved_uri,
+ size_t resolved_size, int log);
+extern int _httpWait(http_t *http, int msec, int usessl);
#endif /* !_CUPS_HTTP_PRIVATE_H_ */
/*
- * End of "$Id: http-private.h 6933 2007-09-10 16:45:59Z mike $".
+ * End of "$Id: http-private.h 7850 2008-08-20 00:07:25Z mike $".
*/