OpENer - Open Source EtherNet/IP(TM) I/O Target Stack  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
main.c File Reference
#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>
Include dependency graph for main.c:

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
 

Function Documentation

void LeaveStack ( int  pa_nSig)

Signal handler function for ending stack execution.

Parameters
pa_nSigthe signal we received

Definition at line 89 of file main.c.

References g_end_stack, and OPENER_TRACE_STATE.

Referenced by main().

Here is the caller graph for this function:

int main ( int  argc,
char *  arg[] 
)

Variable Documentation

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