5a123a50e5
* License strings markers (BEGIN.../END...) can be customized * By default, generate a "generic" license markers * We accept any (paired) markers from the valid list Signed-off-by: Oron Peled <oron.peled@xorcom.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@10502 17933a7a-c749-41c5-a318-cba88f637d49
30 lines
602 B
C
30 lines
602 B
C
#ifndef ASTRIBANK_ALLOW_H
|
|
#define ASTRIBANK_ALLOW_H
|
|
|
|
#include "mpp.h"
|
|
|
|
enum license_markers {
|
|
LICENSE_MARKER_NONE = 0,
|
|
LICENSE_MARKER_XORCOM = 1,
|
|
LICENSE_MARKER_GENERIC = 2,
|
|
};
|
|
|
|
int license_marker_valid(unsigned int which);
|
|
void license_markers_help(const char *prefix, FILE *fp);
|
|
|
|
int write_to_file(
|
|
struct eeprom_table *eeprom_table,
|
|
struct capabilities *caps,
|
|
struct capkey *key,
|
|
unsigned int marker,
|
|
FILE *f);
|
|
|
|
int read_from_file(
|
|
struct eeprom_table *eeprom_table,
|
|
struct capabilities *caps,
|
|
struct capkey *capkey,
|
|
unsigned int *used_marker,
|
|
FILE *f);
|
|
|
|
#endif /* ASTRIBANK_ALLOW_H */
|