gnutls_num.c File Reference

#include <gnutls_int.h>
#include <gnutls_num.h>
#include <gnutls_errors.h>

Include dependency graph for gnutls_num.c:

Go to the source code of this file.

Functions

int MHD_gtls_uint64pp (uint64 *x)
uint32_t MHD_gtls_uint24touint32 (uint24 num)
uint24 MHD_gtls_uint32touint24 (uint32_t num)
uint32_t MHD_gtls_read_uint24 (const opaque *data)
void MHD_gtls_write_uint24 (uint32_t num, opaque *data)
uint32_t MHD_gtls_read_uint32 (const opaque *data)
void MHD_gtls_write_uint32 (uint32_t num, opaque *data)
uint16_t MHD_gtls_read_uint16 (const opaque *data)
void MHD_gtls_write_uint16 (uint16_t num, opaque *data)
uint32_t MHD_gtls_conv_uint32 (uint32_t data)
uint16_t MHD_gtls_conv_uint16 (uint16_t data)
uint32_t MHD_gtls_uint64touint32 (const uint64 *num)


Function Documentation

uint16_t MHD_gtls_conv_uint16 ( uint16_t  data  ) 

Definition at line 172 of file gnutls_num.c.

References byteswap16.

Referenced by MHD_gtls_ciphertext2compressed(), and MHD_gtls_compressed2ciphertext().

Here is the caller graph for this function:

uint32_t MHD_gtls_conv_uint32 ( uint32_t  data  ) 

Definition at line 162 of file gnutls_num.c.

References byteswap32.

uint16_t MHD_gtls_read_uint16 ( const opaque data  ) 

uint32_t MHD_gtls_read_uint24 ( const opaque data  ) 

Definition at line 87 of file gnutls_num.c.

References byteswap32, MHD_gtls_uint24touint32(), and uint24::pint.

Referenced by MHD__gnutls_parse_supplemental(), MHD__gnutls_recv_handshake_header(), and MHD_gtls_proc_x509_server_certificate().

Here is the call graph for this function:

Here is the caller graph for this function:

uint32_t MHD_gtls_read_uint32 ( const opaque data  ) 

Definition at line 119 of file gnutls_num.c.

References byteswap32.

uint32_t MHD_gtls_uint24touint32 ( uint24  num  ) 

Definition at line 63 of file gnutls_num.c.

References uint24::pint.

Referenced by MHD_gtls_read_uint24().

Here is the caller graph for this function:

uint24 MHD_gtls_uint32touint24 ( uint32_t  num  ) 

Definition at line 74 of file gnutls_num.c.

References uint24::pint.

Referenced by MHD_gtls_write_uint24().

Here is the caller graph for this function:

int MHD_gtls_uint64pp ( uint64 x  ) 

Definition at line 38 of file gnutls_num.c.

References uint64::i.

Referenced by MHD_gtls_recv_int(), and MHD_gtls_send_int().

Here is the caller graph for this function:

uint32_t MHD_gtls_uint64touint32 ( const uint64 num  ) 

Definition at line 182 of file gnutls_num.c.

References byteswap32, and uint64::i.

Referenced by MHD_gtls_recv_int(), and MHD_gtls_send_int().

Here is the caller graph for this function:

void MHD_gtls_write_uint16 ( uint16_t  num,
opaque data 
)

void MHD_gtls_write_uint24 ( uint32_t  num,
opaque data 
)

Definition at line 104 of file gnutls_num.c.

References byteswap32, MHD_gtls_uint32touint24(), and uint24::pint.

Referenced by MHD_gtls_gen_x509_crt(), MHD_gtls_send_handshake(), and MHD_gtls_write_datum24().

Here is the call graph for this function:

Here is the caller graph for this function:

void MHD_gtls_write_uint32 ( uint32_t  num,
opaque data 
)

Definition at line 131 of file gnutls_num.c.

References byteswap32.

Referenced by MHD_gtls_tls_create_random().

Here is the caller graph for this function:


Generated on Sun Jul 26 17:22:52 2009 for GNU libmicrohttpd by  doxygen 1.5.9