Functions | Variables
pigpiod.c File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include <syslog.h>
#include <string.h>
#include <signal.h>
#include <ctype.h>
#include <sys/socket.h>
#include <netdb.h>
#include "pigpio.h"
Include dependency graph for pigpiod.c:

Go to the source code of this file.

Functions

static uint32_t checkAddr (char *addrStr)
void fatal (char *fmt,...)
static uint64_t getNum (char *str, int *err)
static void initOpts (int argc, char *argv[])
int main (int argc, char **argv)
void terminate (int signum)
void usage ()

Variables

static unsigned bufferSizeMilliseconds = PI_DEFAULT_BUFFER_MILLIS
static uint32_t cfgInternals = PI_DEFAULT_CFG_INTERNALS
static unsigned clockMicros = PI_DEFAULT_CLK_MICROS
static unsigned clockPeripheral = PI_DEFAULT_CLK_PERIPHERAL
static unsigned DMAprimaryChannel = PI_DEFAULT_DMA_PRIMARY_CHANNEL
static unsigned DMAsecondaryChannel = PI_DEFAULT_DMA_SECONDARY_CHANNEL
static FILE * errFifo
static int foreground = PI_DEFAULT_FOREGROUND
static unsigned ifFlags = PI_DEFAULT_IF_FLAGS
static unsigned memAllocMode = PI_DEFAULT_MEM_ALLOC_MODE
static int numSockNetAddr = 0
static unsigned socketPort = PI_DEFAULT_SOCKET_PORT
static uint32_t sockNetAddr [MAX_CONNECT_ADDRESSES]
static uint64_t updateMask = -1
static int updateMaskSet = 0

Function Documentation

static uint32_t checkAddr ( char *  addrStr) [static]

Definition at line 130 of file pigpiod.c.

void fatal ( char *  fmt,
  ... 
)

Definition at line 75 of file pigpiod.c.

static uint64_t getNum ( char *  str,
int *  err 
) [static]

Definition at line 119 of file pigpiod.c.

static void initOpts ( int  argc,
char *  argv[] 
) [static]

Definition at line 160 of file pigpiod.c.

int main ( int  argc,
char **  argv 
)

Definition at line 307 of file pigpiod.c.

void terminate ( int  signum)

Definition at line 289 of file pigpiod.c.

void usage ( )

Definition at line 91 of file pigpiod.c.


Variable Documentation

Definition at line 54 of file pigpiod.c.

Definition at line 65 of file pigpiod.c.

unsigned clockMicros = PI_DEFAULT_CLK_MICROS [static]

Definition at line 55 of file pigpiod.c.

Definition at line 56 of file pigpiod.c.

Definition at line 59 of file pigpiod.c.

Definition at line 60 of file pigpiod.c.

FILE* errFifo [static]

Definition at line 69 of file pigpiod.c.

Definition at line 58 of file pigpiod.c.

unsigned ifFlags = PI_DEFAULT_IF_FLAGS [static]

Definition at line 57 of file pigpiod.c.

Definition at line 62 of file pigpiod.c.

int numSockNetAddr = 0 [static]

Definition at line 73 of file pigpiod.c.

unsigned socketPort = PI_DEFAULT_SOCKET_PORT [static]

Definition at line 61 of file pigpiod.c.

uint32_t sockNetAddr[MAX_CONNECT_ADDRESSES] [static]

Definition at line 71 of file pigpiod.c.

uint64_t updateMask = -1 [static]

Definition at line 63 of file pigpiod.c.

int updateMaskSet = 0 [static]

Definition at line 67 of file pigpiod.c.



cob_hand_bridge
Author(s): Mathias Lüdtke
autogenerated on Thu Jun 6 2019 20:43:57