1N/A/*
1N/A *
1N/A * Portions Copyright 1998 Sun Microsystems, Inc. All rights reserved.
1N/A * Use is subject to license terms.
1N/A *
1N/A *
1N/A * This is a dummy header file for SSL
1N/A */
1N/A
1N/A#pragma ident "%Z%%M% %I% %E% SMI"
1N/A
1N/A#ifndef _SSL_H
1N/A#define _SSL_H
1N/A
1N/A#include <sys/types.h>
1N/A
1N/Atypedef void * SSL;
1N/A
1N/ASSL SSL_new();
1N/Aint SSL_connect(SSL s, int filedes);
1N/Aint SSL_accept(SSL s, int filedes);
1N/Aint SSL_read(SSL s, u_char *buf, u_int len);
1N/Aint SSL_write(SSL s, u_char *buf, u_int len);
1N/Aint SSL_fread(SSL s, u_char *buf, u_int len);
1N/Aint SSL_fwrite(SSL s, u_char *buf, u_int len);
1N/Aint SSL_flush(SSL s);
1N/Aint SSL_close(SSL s);
1N/Aint SSL_delete(SSL s);
1N/Achar **SSL_get_supported_ciphers();
1N/Aint SSL_get_cipher(SSL s, char **cipher);
1N/Aint SSL_set_cipher(SSL s, char **cipher);
1N/Aint SSL_set_verification(SSL s, char **root_ca_list, int *certificate_type_list);
1N/Aint SSL_set_userid(SSL s, char *name, char *id);
1N/Aint SSL_save_session(SSL s, u_char **id, int *len);
1N/Aint SSL_set_session(SSL s, u_char *id, int len);
1N/Aint SSL_delete_session(u_char *id, int len);
1N/Aint SSL_errno(SSL s);
1N/Achar *SSL_strerr(int err);
1N/Aint SSL_get_fd(SSL s);
1N/A
1N/A#endif _SSL_H