OpenOCD
service Struct Reference
Collaboration diagram for service:

Data Fields

int(* connection_closed )(struct connection *connection)
 
struct connectionconnections
 
int fd
 
int(* input )(struct connection *connection)
 
void(* keep_client_alive )(struct connection *connection)
 
int max_connections
 
char * name
 
int(* new_connection )(struct connection *connection)
 
int(* new_connection_during_keep_alive )(struct connection *connection)
 
struct servicenext
 
char * port
 
unsigned short portnumber
 
void * priv
 
struct sockaddr_in sin
 
enum connection_type type
 

Detailed Description

Definition at line 67 of file server.h.

Field Documentation

◆ connection_closed

int(* service::connection_closed) (struct connection *connection)

Definition at line 79 of file server.h.

Referenced by add_service(), and remove_connection().

◆ connections

struct connection* service::connections

◆ fd

int service::fd

◆ input

int(* service::input) (struct connection *connection)

Definition at line 78 of file server.h.

Referenced by add_service(), and server_loop().

◆ keep_client_alive

void(* service::keep_client_alive) (struct connection *connection)

Definition at line 80 of file server.h.

Referenced by add_service().

◆ max_connections

int service::max_connections

Definition at line 74 of file server.h.

Referenced by add_connection(), add_service(), remove_connection(), and server_loop().

◆ name

◆ new_connection

int(* service::new_connection) (struct connection *connection)

Definition at line 77 of file server.h.

Referenced by add_connection(), and add_service().

◆ new_connection_during_keep_alive

int(* service::new_connection_during_keep_alive) (struct connection *connection)

Definition at line 76 of file server.h.

Referenced by add_service().

◆ next

◆ port

char* service::port

◆ portnumber

unsigned short service::portnumber

Definition at line 71 of file server.h.

Referenced by add_service().

◆ priv

◆ sin

struct sockaddr_in service::sin

Definition at line 72 of file server.h.

Referenced by add_connection(), add_service(), and server_loop().

◆ type


The documentation for this struct was generated from the following file: