Atrinik Client  4.0
Data Fields
server_struct Struct Reference

#include <main.h>

Data Fields

struct server_structnext
 
struct server_structprev
 
char * name
 
char * hostname
 
char * version
 
char * desc
 
int player
 
int port
 
int port_crypto
 
char * cert_pubkey
 
char * cert
 
unsigned char * cert_sig
 
size_t cert_sig_len
 
server_cert_info_tcert_info
 
bool is_meta:1
 

Detailed Description

The servers list, as given by the metaserver.

Definition at line 57 of file main.h.

Field Documentation

char* server_struct::cert

Atrinik certificate entry.

Definition at line 89 of file main.h.

server_cert_info_t* server_struct::cert_info

Parsed certificate information.

Definition at line 103 of file main.h.

char* server_struct::cert_pubkey

Certificate public key.

Definition at line 86 of file main.h.

unsigned char* server_struct::cert_sig

Atrinik certificate signature. The certificate is invalid without a valid signature.

Definition at line 95 of file main.h.

size_t server_struct::cert_sig_len

Length of the certificate signature.

Definition at line 100 of file main.h.

char* server_struct::desc

Server description.

Definition at line 74 of file main.h.

char* server_struct::hostname

Hostname of the server.

Definition at line 68 of file main.h.

bool server_struct::is_meta

Whether the entry was learned from the metaserver.

Definition at line 106 of file main.h.

char* server_struct::name

Name of the server.

Definition at line 65 of file main.h.

struct server_struct* server_struct::next

Next server in the list.

Definition at line 59 of file main.h.

int server_struct::player

Number of players online.

Definition at line 77 of file main.h.

int server_struct::port

Server port.

Definition at line 80 of file main.h.

int server_struct::port_crypto

Crypto port. -1 if disabled.

Definition at line 83 of file main.h.

struct server_struct* server_struct::prev

Previous server in the list.

Definition at line 62 of file main.h.

char* server_struct::version

Server version.

Definition at line 71 of file main.h.


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