OpENer - Open Source EtherNet/IP(TM) I/O Target Stack
2.1
|
#include "generic_networkhandler.h"
#include "opener_api.h"
#include "cipcommon.h"
#include "trace.h"
#include "networkconfig.h"
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
Go to the source code of this file.
Functions | |
void | LeaveStack (int pa_nSig) |
Signal handler function for ending stack execution. More... | |
int | main (int argc, char *arg[]) |
Variables | |
int | g_end_stack = 0 |
Flag indicating if the stack should end its execution. More... | |
int | newfd |
void LeaveStack | ( | int | pa_nSig | ) |
Signal handler function for ending stack execution.
pa_nSig | the signal we received |
Definition at line 89 of file main.c.
References g_end_stack, and OPENER_TRACE_STATE.
Referenced by main().
int main | ( | int | argc, |
char * | arg[] | ||
) |
Definition at line 32 of file main.c.
References CipConnectionObjectListArrayAllocator(), CipConnectionObjectListArrayFree(), CipStackInit(), ConfigureDomainName(), ConfigureHostName(), ConfigureNetworkInterface(), connection_list, DoublyLinkedListInitialize(), g_end_stack, kEipStatusOk, LeaveStack(), NetworkHandlerFinish(), NetworkHandlerInitialize(), NetworkHandlerProcessOnce(), SetDeviceSerialNumber(), and ShutdownCipStack().
int g_end_stack = 0 |
Flag indicating if the stack should end its execution.
Definition at line 29 of file main.c.
Referenced by executeEventLoop(), LeaveStack(), and main().
int newfd |