version 1.10, 2000/03/16 20:56:14 |
version 1.11, 2000/04/03 07:07:15 |
|
|
|
|
/* Appends an arbitrary precision integer to packet data. */ |
/* Appends an arbitrary precision integer to packet data. */ |
void packet_put_bignum(BIGNUM * value); |
void packet_put_bignum(BIGNUM * value); |
|
void packet_put_bignum2(BIGNUM * value); |
|
|
/* Appends a string to packet data. */ |
/* Appends a string to packet data. */ |
void packet_put_string(const char *buf, unsigned int len); |
void packet_put_string(const char *buf, unsigned int len); |
|
void packet_put_cstring(const char *str); |
|
void packet_put_raw(const char *buf, unsigned int len); |
|
|
/* |
/* |
* Finalizes and sends the packet. If the encryption key has been set, |
* Finalizes and sends the packet. If the encryption key has been set, |
|
|
* must have been initialized before this call. |
* must have been initialized before this call. |
*/ |
*/ |
void packet_get_bignum(BIGNUM * value, int *length_ptr); |
void packet_get_bignum(BIGNUM * value, int *length_ptr); |
|
void packet_get_bignum2(BIGNUM * value, int *length_ptr); |
|
char *packet_get_raw(int *length_ptr); |
|
|
/* |
/* |
* Returns a string from the packet data. The string is allocated using |
* Returns a string from the packet data. The string is allocated using |