Socloc Header Files

The following header files are used by the socloc modules:

Sconnect.h

This header contains defines for the module sconnect.c. These include return codes that are specific to connect string parsing and building as well as the maximum size of a connect string and the function prototypes for the module sconnect.c

Slconfig.h

This header file contains all definitions relating to the link list of socloc servers also called the config list. This link list structure is called sl_config_entry. Here is the definition:

struct sl_config_entry
   {
   char *host_name;               /* host name */
   int port_number;               /* port number */
   char *ip_addr;                 /* IP address (optional) */

   /* is this the current local server?
      used by 'socloc' server only */

   int is_local_server;
   struct sl_config_entry *next;
   };

This header also contains the definition of the socloc startup file as well as the function prototypes from the module slconfig.c.

Sliocode.h

This header contains function prototypes for the module sliocode.c.

Sloc.h

This header contains function prototypes for the module sloc.c.

Socloc.h

This header is not tied to any specific socloc module. It contains defines of:

Slocsrv.h

This header contains the function prototypes for the socloc server communications API.

Goto Top | Socloc Overview | GPL Software Overview | GPL Library
Future Lab Home | Contact Webmaster | Feedback

Copyright © 2000-2006 Future Lab, Last Updated Jun 30, 2006