mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-23 15:02:27 +00:00
24 lines
442 B
C
24 lines
442 B
C
//
|
|
// subscribers.h
|
|
//
|
|
//
|
|
// Created by Jeremy Lakeman on 11/08/12.
|
|
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#ifndef _subscribers_h
|
|
#define _subscribers_h
|
|
#include "constants.h"
|
|
|
|
struct subscriber{
|
|
unsigned char sid[SID_SIZE];
|
|
// minimum abbreviation length, in 4bit nibbles.
|
|
int abbreviate_len;
|
|
};
|
|
|
|
struct subscriber *find(const unsigned char *sid, int len, int create);
|
|
void dump_subscribers();
|
|
|
|
|
|
#endif
|