This commit is contained in:
tkarrass 2013-11-02 18:51:10 +01:00
parent d7f8eebcd1
commit 3c077c550f
2 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,11 @@ struct message {
uint32_t height; // normally 80 uint32_t height; // normally 80
//char **image; // dimension is width x height //char **image; // dimension is width x height
char *image; // dimension is width x height char *image; // dimension is width x height
/*
* image[row][col] >>> image[row*width+col];
*/
}; };
int getBufferSize(struct message *msg); int getBufferSize(struct message *msg);

View File

@ -13,6 +13,7 @@
#include <time.h> #include <time.h>
#include "misc.h" #include "misc.h"
#include "msg.h"
void *get_in_addr(struct sockaddr *sa) void *get_in_addr(struct sockaddr *sa)
{ {