Main Page | Data Structures | Directories | File List | Data Fields | Globals

_ks_socket_t Struct Reference


Data Fields

char * hostname
char * port
int proto
sockaddr_in addr
int socket
pthread_mutex_t m_send
pthread_mutex_t m_recv
pthread_mutex_t m_cache
pthread_cond_t c_cache
ks_array_t cache
char * princ
char * creds

Detailed Description

Definition at line 114 of file ks_socket_posix.c.


Field Documentation

struct sockaddr_in _ks_socket_t::addr
 

Socket address

Definition at line 119 of file ks_socket_posix.c.

Referenced by ks_socket_connect().

pthread_cond_t _ks_socket_t::c_cache
 

Thread condition variable for cache access

Definition at line 129 of file ks_socket_posix.c.

Referenced by ks_socket_free(), ks_socket_new(), and ks_socket_recv().

ks_array_t _ks_socket_t::cache
 

Cache of responses with ids

Definition at line 131 of file ks_socket_posix.c.

Referenced by ks_socket_free(), and ks_socket_new().

char* _ks_socket_t::creds
 

Credentials for authentication

Definition at line 133 of file ks_socket_posix.c.

Referenced by ks_socket_free(), ks_socket_new(), ks_socket_send(), and ks_socket_set_auth().

char* _ks_socket_t::hostname
 

Host to connect to

Definition at line 115 of file ks_socket_posix.c.

Referenced by ks_socket_free(), and ks_socket_new().

pthread_mutex_t _ks_socket_t::m_cache
 

Thread mutex for access to the cache

Definition at line 127 of file ks_socket_posix.c.

Referenced by ks_socket_free(), ks_socket_new(), and ks_socket_recv().

pthread_mutex_t _ks_socket_t::m_recv
 

Thread mutex for receiving packets

Definition at line 125 of file ks_socket_posix.c.

Referenced by ks_socket_free(), ks_socket_new(), and ks_socket_recv().

pthread_mutex_t _ks_socket_t::m_send
 

Thread mutex for sending packets

Definition at line 123 of file ks_socket_posix.c.

Referenced by ks_socket_free(), ks_socket_new(), and ks_socket_send().

char* _ks_socket_t::port
 

Port to connect to

Definition at line 116 of file ks_socket_posix.c.

Referenced by ks_socket_free(), and ks_socket_new().

char* _ks_socket_t::princ
 

Principal for authentication

Definition at line 132 of file ks_socket_posix.c.

Referenced by ks_socket_free(), ks_socket_new(), ks_socket_send(), and ks_socket_set_auth().

int _ks_socket_t::proto
 

Protocol to use

Definition at line 117 of file ks_socket_posix.c.

Referenced by ks_socket_connect(), ks_socket_new(), and ks_socket_send().

int _ks_socket_t::socket
 

Socket file descriptor

Definition at line 121 of file ks_socket_posix.c.

Referenced by ks_socket_close(), ks_socket_connect(), ks_socket_new(), and ks_socket_send().


The documentation for this struct was generated from the following file:
Generated on Tue Aug 7 21:11:31 2007 for libkarmaclient by  doxygen 1.4.4