NCBI C++ ToolKit
Functions
ncbi_server_infop.h File Reference
#include "ncbi_host_infop.h"
#include <connect/ncbi_server_info.h>
+ Include dependency graph for ncbi_server_infop.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

SSERV_InfoSERV_CreateNcbidInfoEx (unsigned int host, unsigned short port, const char *args, size_t add)
 
SSERV_InfoSERV_CreateStandaloneInfoEx (unsigned int host, unsigned short port, size_t add)
 
SSERV_InfoSERV_CreateHttpInfoEx (ESERV_Type type, unsigned int host, unsigned short port, const char *path, const char *args, size_t add)
 
SSERV_InfoSERV_CreateFirewallInfoEx (unsigned int host, unsigned short port, ESERV_Type type, size_t add)
 
SSERV_InfoSERV_CreateDnsInfoEx (unsigned int host, size_t add)
 
SSERV_InfoSERV_ReadInfoEx (const char *info_str, const char *name, int lazy)
 
SSERV_InfoSERV_CopyInfoEx (const SSERV_Info *orig, const char *name)
 
const char * SERV_NameOfInfo (const SSERV_Info *info)
 
const char * SERV_HostOfInfo (const SSERV_Info *info)
 
TNCBI_IPv6Addr SERV_AddrOfInfo (const SSERV_Info *info)
 

Function Documentation

◆ SERV_AddrOfInfo()

TNCBI_IPv6Addr SERV_AddrOfInfo ( const SSERV_Info info)

Definition at line 670 of file ncbi_server_info.c.

References info, NcbiIPv4ToIPv6(), and NcbiIsEmptyIPv6().

Referenced by SERV_GetServers().

◆ SERV_CopyInfoEx()

SSERV_Info* SERV_CopyInfoEx ( const SSERV_Info orig,
const char *  name 
)

◆ SERV_CreateDnsInfoEx()

SSERV_Info* SERV_CreateDnsInfoEx ( unsigned int  host,
size_t  add 
)

◆ SERV_CreateFirewallInfoEx()

SSERV_Info* SERV_CreateFirewallInfoEx ( unsigned int  host,
unsigned short  port,
ESERV_Type  type,
size_t  add 
)

◆ SERV_CreateHttpInfoEx()

SSERV_Info* SERV_CreateHttpInfoEx ( ESERV_Type  type,
unsigned int  host,
unsigned short  port,
const char *  path,
const char *  args,
size_t  add 
)

◆ SERV_CreateNcbidInfoEx()

SSERV_Info* SERV_CreateNcbidInfoEx ( unsigned int  host,
unsigned short  port,
const char *  args,
size_t  add 
)

◆ SERV_CreateStandaloneInfoEx()

SSERV_Info* SERV_CreateStandaloneInfoEx ( unsigned int  host,
unsigned short  port,
size_t  add 
)

◆ SERV_HostOfInfo()

const char* SERV_HostOfInfo ( const SSERV_Info info)

Definition at line 661 of file ncbi_server_info.c.

References info, SSERV_Attr::ops, s_GetAttrByType(), and SSERV_Ops::SizeOf.

Referenced by x_HostOfInfo(), and x_SetHostPort().

◆ SERV_NameOfInfo()

const char* SERV_NameOfInfo ( const SSERV_Info info)

◆ SERV_ReadInfoEx()

SSERV_Info* SERV_ReadInfoEx ( const char *  info_str,
const char *  name,
int  lazy 
)
Modified on Tue Apr 23 07:41:06 2024 by modify_doxy.py rev. 669887