diff options
author | cvsadm <cvsadm> | 2005-01-21 00:44:34 +0000 |
---|---|---|
committer | cvsadm <cvsadm> | 2005-01-21 00:44:34 +0000 |
commit | b2093e3016027d6b5cf06b3f91f30769bfc099e2 (patch) | |
tree | cf58939393a9032182c4fbc4441164a9456e82f8 /ldap/servers/plugins/http/http_impl.h | |
download | ds-ldapserver7x.tar.gz ds-ldapserver7x.tar.xz ds-ldapserver7x.zip |
Moving NSCP Directory Server from DirectoryBranch to TRUNK, initial drop. (foxworth)ldapserver7x
Diffstat (limited to 'ldap/servers/plugins/http/http_impl.h')
-rw-r--r-- | ldap/servers/plugins/http/http_impl.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ldap/servers/plugins/http/http_impl.h b/ldap/servers/plugins/http/http_impl.h new file mode 100644 index 00000000..0bca3ca2 --- /dev/null +++ b/ldap/servers/plugins/http/http_impl.h @@ -0,0 +1,25 @@ +/** + * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to + * license terms. Copyright 2001 Sun Microsystems, Inc. + * Some preexisting portions Copyright 2001 Netscape Communications Corp. + * All rights reserved. + */ +#ifndef HTTP_IMPL_H__ +#define HTTP_IMPL_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +int http_impl_init(Slapi_ComponentId *plugin_id); +int http_impl_get_text(char *url, char **data, int *bytesRead); +int http_impl_get_binary(char *url, char **data, int *bytesRead); +int http_impl_get_redirected_uri(char *url, char **data, int *bytesRead); +int http_impl_post(char *url, httpheader **httpheaderArray, char *body, char **data, int *bytesRead); +void http_impl_shutdown(); + +#ifdef __cplusplus +} +#endif + +#endif |