diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2009-08-14 02:05:59 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2009-08-14 02:05:59 +0200 |
commit | 6ca9bdc3559e541ad636d283a57ddf22d77b47cf (patch) | |
tree | 09ce862ae0c222996b756dc46994d40c4b926b0b /channel.h | |
parent | 5acf08a2e540d68093566c006e45572849589750 (diff) | |
parent | bd1f1deafc7f1fec1612d3776377f685f056e5f7 (diff) |
Merge branch 'master' of ssh://athena/mnt/scm/git/ircstats
Diffstat (limited to 'channel.h')
-rw-r--r-- | channel.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -6,18 +6,19 @@ struct channel_file_t { char *path; struct regexset_t *rs; + struct channel_file_t *next; }; 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); +struct channel_file_t *channel_file_add(struct channel_t *channel, const char *path, int rs_index); +int channel_get_count(); +struct channel_t *channel_get(int index); void channel_free(); #endif |