~ubuntu-branches/ubuntu/saucy/dahdi-tools/saucy-proposed

« back to all changes in this revision

Viewing changes to xpp/astribank_license.h

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2013-08-25 12:48:37 UTC
  • mfrom: (2.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20130825124837-wtefi7f9dsihg8is
Tags: 1:2.7.0-1ubuntu1
* Merge from debian. Remaining changes:
  - debian/control: Added gawk as dependency for dkms build
  - debian/control: Package dahdi Depends on dahdi-dkms | dahdi-source
  - debian/control: Set ubuntu maintainer    
  - added debian/dahdi.postinst
  - debian/control: Removed Uploaders field.
  - added debian/dahdi.postinst
  - added --error-handler=init_failed to debian/rules
  

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef ASTRIBANK_ALLOW_H
 
2
#define ASTRIBANK_ALLOW_H
 
3
 
 
4
#include "mpp.h"
 
5
 
 
6
enum license_markers {
 
7
        LICENSE_MARKER_NONE = 0,
 
8
        LICENSE_MARKER_XORCOM = 1,
 
9
        LICENSE_MARKER_GENERIC = 2,
 
10
};
 
11
 
 
12
int license_marker_valid(unsigned int which);
 
13
void license_markers_help(const char *prefix, FILE *fp);
 
14
 
 
15
int write_to_file(
 
16
        struct eeprom_table *eeprom_table,
 
17
        struct capabilities *caps,
 
18
        struct capkey *key,
 
19
        unsigned int marker,
 
20
        FILE *f);
 
21
 
 
22
int read_from_file(
 
23
        struct eeprom_table *eeprom_table,
 
24
        struct capabilities *caps,
 
25
        struct capkey *capkey,
 
26
        unsigned int *used_marker,
 
27
        FILE *f);
 
28
 
 
29
#endif  /* ASTRIBANK_ALLOW_H */