Navit SVN

/work/compile/navit/src/navit/messages.h

00001 
00020 #ifndef NAVIT_MESSAGES_H
00021 #define NAVIT_MESSAGES_H
00022 
00023 struct messagelist;
00024 
00025 struct message {
00026         struct message *next;
00027         int id;
00028         time_t time;
00029         char *text;
00030 };
00031 
00032 /* Prototypes */
00033 struct attr;
00034 
00035 int message_new(struct messagelist *this_, char *message);
00036 int message_delete(struct messagelist *this_, int mid);
00037 struct messagelist *messagelist_new(struct attr **attrs);
00038 void messagelist_init(struct messagelist *this_);
00039 struct message *message_get(struct messagelist *this_);
00040 
00041 #endif