nds2-client - ClientDeveloper  0.16.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
nds2_channel_source.c File Reference
#include "daqc.h"
#include "trench.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for nds2_channel_source.c:

Macros

#define MAX_SOURCE_LIST   262144
 
#define NDSSERVER_ENV   "NDSSERVER"
 

Functions

void set_node_and_port_from_env (const char **node_id, short *port_id)
 set_node_and_port_from_env attempts to extract port & host information from the environment More...
 
int main (int argc, const char *argv[])
 

Macro Definition Documentation

#define MAX_SOURCE_LIST   262144
#define NDSSERVER_ENV   "NDSSERVER"

Function Documentation

int main ( int  argc,
const char *  argv[] 
)
void set_node_and_port_from_env ( const char **  node_id,
short *  port_id 
)

set_node_and_port_from_env attempts to extract port & host information from the environment

Parameters
node_idpointer to the node (host) pointer
port_idpointer to put a port number in
Note
if arguments or environment is invalid/NULL this does nothing