Statistics
| Branch: | Revision:

streamers / channel.c @ 5950e362

History | View | Annotate | Download (207 Bytes)

1 5950e362 Csaba Kiraly
#include <stdlib.h>
2
3
#include "channel.h"
4
5
static const char * chname = NULL;
6
7
void channel_set_name(char *ch)
8
{
9
  free(chname);
10
  chname = strdup(ch);
11
}
12
13
const char *channel_get_name()
14
{
15
  return chname;
16
}