diff options
author | stevel@tonic-gate <none@none> | 2005-06-14 00:00:00 -0700 |
---|---|---|
committer | stevel@tonic-gate <none@none> | 2005-06-14 00:00:00 -0700 |
commit | 7c478bd95313f5f23a4c958a745db2134aa03244 (patch) | |
tree | c871e58545497667cbb4b0a4f2daf204743e1fe7 /usr/src/lib/libldap4/include/ssl.h | |
download | illumos-joyent-7c478bd95313f5f23a4c958a745db2134aa03244.tar.gz |
OpenSolaris Launch
Diffstat (limited to 'usr/src/lib/libldap4/include/ssl.h')
-rw-r--r-- | usr/src/lib/libldap4/include/ssl.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/usr/src/lib/libldap4/include/ssl.h b/usr/src/lib/libldap4/include/ssl.h new file mode 100644 index 0000000000..aa4edcaf2d --- /dev/null +++ b/usr/src/lib/libldap4/include/ssl.h @@ -0,0 +1,41 @@ +/* + * + * Portions Copyright %G% Sun Microsystems, Inc. + * All Rights Reserved + * + * + * This is a dummy header file for SSL + */ + +#pragma ident "%Z%%M% %I% %E% SMI" + +#ifndef _SSL_H +#define _SSL_H + +#include <sys/types.h> + +typedef void * SSL; + +SSL SSL_new(); +int SSL_connect(SSL s, int filedes); +int SSL_accept(SSL s, int filedes); +int SSL_read(SSL s, u_char *buf, u_int len); +int SSL_write(SSL s, u_char *buf, u_int len); +int SSL_fread(SSL s, u_char *buf, u_int len); +int SSL_fwrite(SSL s, u_char *buf, u_int len); +int SSL_flush(SSL s); +int SSL_close(SSL s); +int SSL_delete(SSL s); +char **SSL_get_supported_ciphers(); +int SSL_get_cipher(SSL s, char **cipher); +int SSL_set_cipher(SSL s, char **cipher); +int SSL_set_verification(SSL s, char **root_ca_list, int *certificate_type_list); +int SSL_set_userid(SSL s, char *name, char *id); +int SSL_save_session(SSL s, u_char **id, int *len); +int SSL_set_session(SSL s, u_char *id, int len); +int SSL_delete_session(u_char *id, int len); +int SSL_errno(SSL s); +char *SSL_strerr(int err); +int SSL_get_fd(SSL s); + +#endif _SSL_H |