Instrument Neutral Distributed Interface INDI  1.6.0
Classes | Macros | Functions | Variables
indiserver.c File Reference
#include "config.h"
#include "fq.h"
#include "indiapi.h"
#include "indidevapi.h"
#include "lilxml.h"
#include <errno.h>
#include <fcntl.h>
#include <libgen.h>
#include <netdb.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/socket.h>

Go to the source code of this file.

Classes

struct  Msg
 
struct  Property
 
struct  ClInfo
 
struct  DvrInfo
 

Macros

#define INDIPORT   7624 /* default TCP/IP port to listen */
 
#define REMOTEDVR   (-1234) /* invalid PID to flag remote drivers */
 
#define MAXSBUF   512
 
#define MAXRBUF   49152 /* max read buffering here */
 
#define MAXWSIZ   49152 /* max bytes/write */
 
#define DEFMAXQSIZ   128 /* default max q behind, MB */
 
#define DEFMAXSSIZ   5 /* default max stream behind, MB */
 
#define DEFMAXRESTART   10 /* default max restarts */
 

Functions

int main (int ac, char *av[])
 

Variables

struct {
   const char *   name
 
   int   fd
 
fifo
 

Macro Definition Documentation

#define DEFMAXQSIZ   128 /* default max q behind, MB */

Definition at line 78 of file indiserver.c.

#define DEFMAXRESTART   10 /* default max restarts */

Definition at line 80 of file indiserver.c.

#define DEFMAXSSIZ   5 /* default max stream behind, MB */

Definition at line 79 of file indiserver.c.

#define INDIPORT   7624 /* default TCP/IP port to listen */

Definition at line 73 of file indiserver.c.

#define MAXRBUF   49152 /* max read buffering here */

Definition at line 76 of file indiserver.c.

#define MAXSBUF   512

Definition at line 75 of file indiserver.c.

#define MAXWSIZ   49152 /* max bytes/write */

Definition at line 77 of file indiserver.c.

#define REMOTEDVR   (-1234) /* invalid PID to flag remote drivers */

Definition at line 74 of file indiserver.c.

Function Documentation

int main ( int  ac,
char *  av[] 
)

Definition at line 215 of file indiserver.c.

Variable Documentation

int fd

Definition at line 114 of file indiserver.c.

struct { ... } fifo
const char* name