Added some kind of priorities for algorithms. Still experimental.
[gnutls:gnutls.git] / lib / gnutls_handshake.h
1 int _gnutls_supported_compression_methods(CompressionMethod **comp);
2 int _gnutls_send_handshake(int cd, GNUTLS_STATE state, void* i_data, uint32 i_datasize, HandshakeType type);
3 int _gnutls_send_hello_request(int cd, GNUTLS_STATE state);
4 int _gnutls_send_hello(int cd, GNUTLS_STATE state, opaque* SessionID, uint8 SessionIDLen);
5 int _gnutls_recv_hello(int cd, GNUTLS_STATE state, char* data, int datalen, opaque** SessionID, int SessionIDnum);
6 int gnutls_handshake(int cd, GNUTLS_STATE state);
7 int _gnutls_recv_handshake( int cd, GNUTLS_STATE state, uint8**, int*, HandshakeType);
8 int _gnutls_generate_session_id( char** session_id, uint8* len);