#include <stdio.h>#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <strings.h>#include <string.h>#include <arpa/inet.h>#include <stdlib.h>#include <unistd.h>#include <signal.h>#include <errno.h>#include <pthread.h>#include "command_line_parser.h"#include "timer.h"#include "scheduler.h"#include "frame_comm.h"Include dependency graph for main.c:

Go to the source code of this file.
Defines | |
| #define | STATE_DELAY_US 10000 |
Functions | |
| void | error (char *) |
| int | main (int argc, char *argv[]) |
Variables | |
| command_options_t | options |
| ControlFrame_t | msg |
|
|
Definition at line 19 of file main.c. Referenced by main(). |
|
|
Definition at line 39 of file main.c. References msg. Referenced by jitter(), and main(). 00039 {
00040 perror(msg);
00041 exit(1);
00042 }
|
|
||||||||||||
|
Definition at line 26 of file main.c. References command_line_parser(), init_command_line_options(), initControlFrame(), msg, options, and scheduler(). 00026 {
00027 init_command_line_options(&options);
00028 command_line_parser (argc, argv, &options);
00029
00030 initControlFrame(&msg);
00031 printf("Cart Command Server Started\n");
00032
00033 while (1) {
00034 scheduler(&options);
00035 }
00036 return(0);
00037 }
|
Here is the call graph for this function:

|
|
Definition at line 24 of file main.c. Referenced by error(), main(), socket_comm(), and writeMessage(). |
|
|
Definition at line 23 of file main.c. Referenced by command_line_parser(), init_command_line_options(), main(), scheduler(), and socket_comm(). |
1.3.9.1