GNU PROLOG with UTF8 support
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
sockets_c.c File Reference
#include "gp_config.h"
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include "engine_pl.h"
#include "bips_pl.h"
Include dependency graph for sockets_c.c:

Macros

#define OBJ_INIT   Socket_Initializer
 

Functions

static Bool Create_Socket_Streams (int sock, char *stream_name, int *stm_in, int *stm_out)
 
static void Socket_Initializer (void)
 
Bool Pl_Socket_2 (WamWord domain_word, WamWord socket_word)
 
Bool Pl_Socket_Close_1 (WamWord socket_word)
 
Bool Pl_Socket_Bind_2 (WamWord socket_word, WamWord address_word)
 
Bool Pl_Socket_Connect_4 (WamWord socket_word, WamWord address_word, WamWord stm_in_word, WamWord stm_out_word)
 
Bool Pl_Socket_Listen_2 (WamWord socket_word, WamWord length_word)
 
Bool Pl_Socket_Accept_4 (WamWord socket_word, WamWord client_word, WamWord stm_in_word, WamWord stm_out_word)
 
Bool Pl_Assoc_Socket_Streams_3 (WamWord socket_word, WamWord stm_in_word, WamWord stm_out_word)
 
Bool Pl_Hostname_Address_2 (WamWord host_name_word, WamWord host_address_word)
 

Variables

static int atom_AF_INET
 

Macro Definition Documentation

#define OBJ_INIT   Socket_Initializer

Function Documentation

static Bool Create_Socket_Streams ( int  sock,
char *  stream_name,
int *  stm_in,
int *  stm_out 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

Bool Pl_Assoc_Socket_Streams_3 ( WamWord  socket_word,
WamWord  stm_in_word,
WamWord  stm_out_word 
)

Here is the call graph for this function:

Bool Pl_Hostname_Address_2 ( WamWord  host_name_word,
WamWord  host_address_word 
)

Here is the call graph for this function:

Bool Pl_Socket_2 ( WamWord  domain_word,
WamWord  socket_word 
)

Here is the call graph for this function:

Bool Pl_Socket_Accept_4 ( WamWord  socket_word,
WamWord  client_word,
WamWord  stm_in_word,
WamWord  stm_out_word 
)

Here is the call graph for this function:

Bool Pl_Socket_Bind_2 ( WamWord  socket_word,
WamWord  address_word 
)

Here is the call graph for this function:

Bool Pl_Socket_Close_1 ( WamWord  socket_word)

Here is the call graph for this function:

Bool Pl_Socket_Connect_4 ( WamWord  socket_word,
WamWord  address_word,
WamWord  stm_in_word,
WamWord  stm_out_word 
)

Here is the call graph for this function:

Bool Pl_Socket_Listen_2 ( WamWord  socket_word,
WamWord  length_word 
)

Here is the call graph for this function:

static void Socket_Initializer ( void  )
static

Here is the call graph for this function:

Variable Documentation

int atom_AF_INET
static