Refactoring for sanity, avoid some unnecessary copies.

This commit is contained in:
Ian Gulliver
2015-06-28 11:55:09 -07:00
parent a3b6977088
commit d1a4510d2b
2 changed files with 52 additions and 48 deletions

View File

@@ -20,8 +20,8 @@ struct cosmo {
pthread_mutex_t lock;
pthread_cond_t cond;
bool shutdown;
char *profile;
char *generation;
json_t *profile;
json_t *generation;
struct cosmo_command *command_queue_head;
struct cosmo_command *command_queue_tail;
json_t *ack;