Created
December 12, 2012 23:51
-
-
Save ox/4272810 to your computer and use it in GitHub Desktop.
the client struct
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _CLIENT_H | |
#define _CLIENT_H | |
#include "order.h" | |
struct Client { | |
char * name; | |
int id; | |
double credit; | |
struct book_node * successful, * failed; | |
// clients->storage[index] | |
}; | |
struct Client * client_new(char * name, int id, double credit); | |
void client_destroy(void * a); | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment