Robot Agent  1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Typedefs
def.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "config.h"

Go to the source code of this file.

Data Structures

struct  s_VICTIM_STRUCT
 Victim structure. More...
 
struct  s_COMMAND_STRUCT
 Command structure. More...
 
struct  s_STREAM_STRUCT
 Stream structure. More...
 

Macros

#define s_TRUE   1
 
#define s_FALSE   0
 
#define s_OK   0
 
#define s_ERROR   -1
 
#define s_DATA_STRUCT_TYPE_ROBOT   0
 
#define s_DATA_STRUCT_TYPE_VICTIM   1
 
#define s_DATA_STRUCT_TYPE_PHEROMONE   2
 
#define s_DATA_STRUCT_TYPE_CMD   3
 
#define s_DATA_STRUCT_TYPE_STREAM   4
 
#define s_CMD_START   0
 
#define s_CMD_STOP   1
 
#define s_CMD_GO_AHEAD   2
 

Typedefs

typedef struct s_VICTIM_STRUCT victim_t
 Victim structure. More...
 
typedef struct s_COMMAND_STRUCT command_t
 Command structure. More...
 
typedef struct s_STREAM_STRUCT stream_t
 Stream structure. More...
 

Detailed Description

Author
Eriks Zaharans
Date
1 Jul 2013

DESCRIPTION

Definition file.

Definition in file def.h.

Macro Definition Documentation

#define s_CMD_GO_AHEAD   2

Definition at line 77 of file def.h.

#define s_CMD_START   0

Definition at line 75 of file def.h.

#define s_CMD_STOP   1

Definition at line 76 of file def.h.

#define s_DATA_STRUCT_TYPE_CMD   3

Definition at line 71 of file def.h.

#define s_DATA_STRUCT_TYPE_PHEROMONE   2

Definition at line 70 of file def.h.

#define s_DATA_STRUCT_TYPE_ROBOT   0

Definition at line 68 of file def.h.

#define s_DATA_STRUCT_TYPE_STREAM   4

Definition at line 72 of file def.h.

#define s_DATA_STRUCT_TYPE_VICTIM   1

Definition at line 69 of file def.h.

#define s_ERROR   -1

Definition at line 65 of file def.h.

#define s_FALSE   0

Definition at line 61 of file def.h.

#define s_OK   0

Definition at line 64 of file def.h.

#define s_TRUE   1

Definition at line 60 of file def.h.

Typedef Documentation

typedef struct s_COMMAND_STRUCT command_t

Command structure.

typedef struct s_STREAM_STRUCT stream_t

Stream structure.

typedef struct s_VICTIM_STRUCT victim_t

Victim structure.