Add NSF support (bug #1927)

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@122 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Mark Spencer
2004-06-26 04:37:09 +00:00
parent c9bb969586
commit 18958fa7e8
4 changed files with 78 additions and 2 deletions

6
pri.c
View File

@@ -122,6 +122,12 @@ struct pri *pri_new(int fd, int node, int switchtype)
return __pri_new(fd, node, switchtype, NULL);
}
void pri_set_nsf(struct pri *pri, int nsf)
{
if (pri)
pri->nsf = nsf;
}
char *pri_event2str(int id)
{
switch(id) {