#include "engine.h"#include <string.h>#include <stdlib.h>#include <assert.h>#include <time.h>| Functions | |
| engine_t * | engine_new () | 
| Allocates a new engine and initializes default values. | |
| void | engine_set_xmpp_server (engine_t *engine, char *server) | 
| Set the XMPP server the engine will use to receive and send data. | |
| void | engine_set_xmpp_account (engine_t *engine, char *jid, char *password) | 
| Set the XMPP account the engine will use to receive and send data. | |
| void | engine_set_gps_device (engine_t *engine, char *device) | 
| Set the GPS device used to retrieve GPS-data. | |
| engine_error_t | engine_run (engine_t *engine) | 
| Run the engine The engine runs until some error occur. | |
| void | engine_stop (engine_t *engine) | 
| Stop all subsystems and deallocate all memory used by the engine. | |
| void | engine_set_logger (engine_t *engine, engine_subsystem_t subsystem, BIO *logger) | 
| Sets a logger for a given subsystem. | |
| 
 | 
| Allocates a new engine and initializes default values. 
 
 | 
| 
 | 
| Run the engine The engine runs until some error occur. 
 | 
| 
 | ||||||||||||
| Set the GPS device used to retrieve GPS-data. 
 
 | 
| 
 | ||||||||||||||||
| Sets a logger for a given subsystem. 
 
 | 
| 
 | ||||||||||||||||
| Set the XMPP account the engine will use to receive and send data. 
 
 | 
| 
 | ||||||||||||
| Set the XMPP server the engine will use to receive and send data. 
 
 | 
| 
 | 
| Stop all subsystems and deallocate all memory used by the engine. 
 | 
 1.3.4
 
1.3.4