summaryrefslogtreecommitdiff
path: root/tests/src/status.h
blob: 29d193709fd8824f227d995718e4764665c65c6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef STATUS_H_
#define STATUS_H_

#ifdef __cplusplus
extern "C" {
#endif
  
#include <glib-object.h>

typedef void (*StatusRequestFunc)(const gchar *name, GHashTable *params);

gboolean status_connect (StatusRequestFunc message_cb, const gchar *id);

void status_notify (const gchar *format, ...) __attribute__((format (printf, 1, 2)));

#ifdef __cplusplus
}
#endif

#endif /* STATUS_H_ */