blob: cda0df589273051cd2e6f3da22095c90b31bbbe2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef _CHANNEL_H_
#define _CHANNEL_H_
#include "regexset.h"
struct channel_file_t {
char *path;
struct regexset_t *rs;
};
struct channel_t {
char *name;
int file_count;
struct channel_file_t *files;
};
void channel_init();
struct channel_t *channel_add(const char *name);
int channel_set_file_count(struct channel_t *channel, int count);
int channel_set_file(struct channel_t *channel, int index, const char *path, int rs_index);
void channel_free();
#endif
|