First commit

This commit is contained in:
2023-03-28 08:08:11 -05:00
commit b048b09f64
5 changed files with 127 additions and 0 deletions

20
message.h Normal file
View File

@@ -0,0 +1,20 @@
#ifndef _MESSAGE_H
#define _MESSAGE_H
#include "user.h"
#include <time.h>
typedef struct Message_s Message;
struct Message_s {
char* text;
struct tm timeinfo;
User sender;
User recipient;
};
Message new_message(char* text,User from,User to);
#endif