-
Notifications
You must be signed in to change notification settings - Fork 111
/
ipp.js
24 lines (22 loc) · 1014 Bytes
/
ipp.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
var util = require('./lib/ipputil');
module.exports = {
parse: require('./lib/parser'),
serialize: require('./lib/serializer'),
request: require('./lib/request'),
Printer: require('./lib/printer'),
versions: require('./lib/versions'),
attributes: require('./lib/attributes'),
keywords: require('./lib/keywords'),
enums: require('./lib/enums'),
tags: require('./lib/tags'),
statusCodes: require('./lib/status-codes')
};
module.exports.operations = module.exports.enums['operations-supported'];
module.exports.attribute = {
//http://www.iana.org/assignments/ipp-registrations/ipp-registrations.xml#ipp-registrations-7
groups: util.xref(module.exports.tags.lookup.slice(0x00, 0x0F)),
//http://www.iana.org/assignments/ipp-registrations/ipp-registrations.xml#ipp-registrations-8
values: util.xref(module.exports.tags.lookup.slice(0x10, 0x1F)),
//http://www.iana.org/assignments/ipp-registrations/ipp-registrations.xml#ipp-registrations-9
syntaxes: util.xref(module.exports.tags.lookup.slice(0x20))
}