You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
260 B
C

2 years ago
#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