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
23#include <time.h>
24
25struct messagelist;
26
27struct message {
28 struct message *next;
29 int id;
30 time_t time;
31 char *text;
32};
33
34/* Prototypes */
35struct attr;
36
37int message_new(struct messagelist *this_, const char *message);
38int message_delete(struct messagelist *this_, int mid);
39struct messagelist *messagelist_new(struct attr **attrs);
40void messagelist_init(struct messagelist *this_);
41struct message *message_get(struct messagelist *this_);
42
43#endif
struct message * message_get(struct messagelist *this_)
Definition messages.c:144
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
struct navit struct traffic_methods struct attr ** attrs
Definition plugin_def.h:36
Definition attr.h:138
Definition messages.h:27
time_t time
Definition messages.h:30
int id
Definition messages.h:29
char * text
Definition messages.h:31
struct message * next
Definition messages.h:28
Definition messages.c:27