libxdas_net.c File Reference

OpenXDAS network request response engine. More...

#include <xdas.h>
#include <xdasd.h>
#include <xdas_buf.h>
#include <xdas_wire.h>
#include <xdas_debug.h>
#include "libxdas_impl.h"
#include <errno.h>
#include <stdio.h>
#include <sys/un.h>

Go to the source code of this file.

Defines

#define UNIT_TEST_RUN_PATH_ENVAR   "XDAS_UNIT_TEST_RUN_PATH"

Functions

static void xdas_get_ipcpath (char *ipcpath, size_t ipcpathsz)
 Return the ipcpath to use for local ipc connection.
static int xdas_map_network_error_to_minor (void)
 Map network system error to openxdas minor status code.
void xdas_service_disconnect (xdas_session *xs)
 Disconnect from service if connected.
int xdas_service_connect (int *minor, xdas_session *xs)
 Establish a connection with the local xdasd service.
int xdas_req_rsp (int *minorp, xdas_session *xs)
 Send an xdas service request, receive a response.


Detailed Description

OpenXDAS network request response engine.

Author:
John Calcote (jcalcote@novell.com)
Attention:
Please submit patches to http://openxdas.sourceforge.net

Definition in file libxdas_net.c.


Define Documentation

#define UNIT_TEST_RUN_PATH_ENVAR   "XDAS_UNIT_TEST_RUN_PATH"

Referenced by xdas_get_ipcpath().


Generated on Thu Aug 20 22:33:06 2009 for OpenXDAS by  doxygen 1.5.6