moberg_config.h 753 Bytes
Newer Older
Anders Blomdell's avatar
Anders Blomdell committed
1
2
3
#ifndef __MOBERG_CONFIG_H__
#define __MOBERG_CONFIG_H__

4
#include <moberg.h>
Anders Blomdell's avatar
Anders Blomdell committed
5
6
7
8
9
10
11
12
13
14
15
16
#include <moberg_device.h>

struct moberg_config *moberg_config_new();

void moberg_config_free(struct moberg_config *config);

int moberg_config_join(struct moberg_config *dest,
                       struct moberg_config *src);

int moberg_config_add_device(struct moberg_config *config,
                             struct moberg_device *device);

17
int moberg_config_install_channels(struct moberg_config *config,
Anders Blomdell's avatar
Anders Blomdell committed
18
                                   struct moberg_channel_install *install);
Anders Blomdell's avatar
Anders Blomdell committed
19

20
21
22
23
24
25
int moberg_config_start(struct moberg_config *config,
                        FILE *f);

int moberg_config_stop(struct moberg_config *config,
                       FILE *f);

Anders Blomdell's avatar
Anders Blomdell committed
26
#endif