removed old stuff
This commit is contained in:
parent
17865a660c
commit
5aca528242
3 changed files with 0 additions and 11 deletions
|
@ -41,7 +41,6 @@ typedef struct channel {
|
|||
|
||||
pthread_cond_t condition; /* pthread syncronization to notify logging thread and local webserver */
|
||||
pthread_t thread; /* pthread for asynchronus logging */
|
||||
pthread_status_t status; /* status of thread */
|
||||
|
||||
char *middleware; /* url to middleware */
|
||||
char *uuid; /* unique identifier for middleware */
|
||||
|
|
|
@ -35,14 +35,6 @@
|
|||
#include "common.h"
|
||||
#include "list.h"
|
||||
|
||||
/* enumerations */
|
||||
typedef enum {
|
||||
status_unknown,
|
||||
status_running,
|
||||
status_terminated,
|
||||
status__cancelled
|
||||
} pthread_status_t;
|
||||
|
||||
/**
|
||||
* Type for mapping channels to meters
|
||||
*/
|
||||
|
@ -51,7 +43,6 @@ typedef struct map {
|
|||
list_t channels;
|
||||
|
||||
pthread_t thread;
|
||||
pthread_status_t status;
|
||||
} map_t;
|
||||
|
||||
/* prototypes */
|
||||
|
|
|
@ -35,7 +35,6 @@ void channel_init(channel_t *ch, const char *uuid, const char *middleware, readi
|
|||
snprintf(ch->id, 5, "ch%i", instances++);
|
||||
|
||||
ch->identifier = identifier;
|
||||
ch->status = status_unknown;
|
||||
|
||||
ch->uuid = strdup(uuid);
|
||||
ch->middleware = strdup(middleware);
|
||||
|
|
Loading…
Add table
Reference in a new issue