navit 0.5.3-trunk
Loading...
Searching...
No Matches
messages.h
Go to the documentation of this file.
1
20#ifndef NAVIT_MESSAGES_H
21#define NAVIT_MESSAGES_H
22
23struct messagelist;
24
25struct message {
26 struct message *next;
27 int id;
28 time_t time;
29 char *text;
30};
31
32/* Prototypes */
33struct attr;
34
35int message_new(struct messagelist *this_, const char *message);
36int message_delete(struct messagelist *this_, int mid);
37struct messagelist *messagelist_new(struct attr **attrs);
38void messagelist_init(struct messagelist *this_);
39struct message *message_get(struct messagelist *this_);
40
41#endif
struct message * message_get(struct messagelist *this_)
Definition messages.c:145
int message_delete(struct messagelist *this_, int mid)
Definition messages.c:50
void messagelist_init(struct messagelist *this_)
Definition messages.c:137
struct messagelist * messagelist_new(struct attr **attrs)
Definition messages.c:118
int message_new(struct messagelist *this_, const char *message)
Definition messages.c:36
Definition attr.h:136
Definition messages.h:25
time_t time
Definition messages.h:28
int id
Definition messages.h:27
char * text
Definition messages.h:29
struct message * next
Definition messages.h:26
Definition messages.c:27