navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
messages.h
Go to the documentation of this file.
1 
20 #ifndef NAVIT_MESSAGES_H
21 #define NAVIT_MESSAGES_H
22 
23 struct messagelist;
24 
25 struct message {
26  struct message *next;
27  int id;
28  time_t time;
29  char *text;
30 };
31 
32 /* Prototypes */
33 struct attr;
34 
35 int message_new(struct messagelist *this_, const char *message);
36 int message_delete(struct messagelist *this_, int mid);
37 struct messagelist *messagelist_new(struct attr **attrs);
38 void messagelist_init(struct messagelist *this_);
39 struct message *message_get(struct messagelist *this_);
40 
41 #endif
char * text
Definition: messages.h:29
struct message * next
Definition: messages.h:26
Definition: messages.h:25
struct message * message_get(struct messagelist *this_)
Definition: messages.c:154
int id
Definition: messages.h:27
int message_delete(struct messagelist *this_, int mid)
Definition: messages.c:53
struct messagelist * messagelist_new(struct attr **attrs)
Definition: messages.c:124
int message_new(struct messagelist *this_, const char *message)
Definition: messages.c:37
Definition: attr.h:156
Definition: messages.c:27
time_t time
Definition: messages.h:28
void messagelist_init(struct messagelist *this_)
Definition: messages.c:145