Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
" Vim syntax file
" Language:     C libdns
" Maintainer:   miekg
" Last change:  2011-09-15

" ldns/util.h
syn keyword  ldnsMacro LDNS_MALLOC
syn keyword  ldnsMacro LDNS_XMALLOC
syn keyword  ldnsMacro LDNS_CALLOC
syn keyword  ldnsMacro LDNS_REALLOC
syn keyword  ldnsMacro LDNS_XREALLOC
syn keyword  ldnsMacro LDNS_FREE
syn keyword  ldnsMacro LDNS_DEP  
syn keyword  ldnsMacro LDNS_VERSION
syn keyword  ldnsMacro LDNS_REVISION

" ldns/dname.h
syn keyword  ldnsMacro          LDNS_DNAME_NORMALIZE

" ldns/tsig.h
syn keyword  ldnsType           ldns_tsig_credentials

" ldns/update.h
" --

" ldns/rdata.h
syn keyword  ldnsType           ldns_rdf
syn keyword  ldnsType           ldns_rdf_type
syn keyword  ldnsType           ldns_cert_algorithm
syn keyword  ldnsConstant	LDNS_RDF_TYPE_NONE
syn keyword  ldnsConstant	LDNS_RDF_TYPE_DNAME
syn keyword  ldnsConstant	LDNS_RDF_TYPE_INT8
syn keyword  ldnsConstant	LDNS_RDF_TYPE_INT16
syn keyword  ldnsConstant	LDNS_RDF_TYPE_INT16_DATA
syn keyword  ldnsConstant	LDNS_RDF_TYPE_INT32
syn keyword  ldnsConstant	LDNS_RDF_TYPE_A
syn keyword  ldnsConstant	LDNS_RDF_TYPE_AAAA
syn keyword  ldnsConstant	LDNS_RDF_TYPE_STR
syn keyword  ldnsConstant	LDNS_RDF_TYPE_APL
syn keyword  ldnsConstant	LDNS_RDF_TYPE_B32_EXT
syn keyword  ldnsConstant	LDNS_RDF_TYPE_B64
syn keyword  ldnsConstant	LDNS_RDF_TYPE_HEX
syn keyword  ldnsConstant	LDNS_RDF_TYPE_NSEC
syn keyword  ldnsConstant	LDNS_RDF_TYPE_TYPE
syn keyword  ldnsConstant	LDNS_RDF_TYPE_CLASS
syn keyword  ldnsConstant	LDNS_RDF_TYPE_CERT
syn keyword  ldnsConstant	LDNS_RDF_TYPE_CERT_ALG
syn keyword  ldnsConstant	LDNS_RDF_TYPE_ALG
syn keyword  ldnsConstant 	LDNS_RDF_TYPE_UNKNOWN
syn keyword  ldnsConstant	LDNS_RDF_TYPE_TIME
syn keyword  ldnsConstant	LDNS_RDF_TYPE_PERIOD
syn keyword  ldnsConstant	LDNS_RDF_TYPE_TSIGTIME
syn keyword  ldnsConstant	LDNS_RDF_TYPE_SERVICE
syn keyword  ldnsConstant	LDNS_RDF_TYPE_LOC
syn keyword  ldnsConstant	LDNS_RDF_TYPE_WKS
syn keyword  ldnsConstant	LDNS_RDF_TYPE_NSAP
syn keyword  ldnsConstant	LDNS_RDF_TYPE_ATMA
syn keyword  ldnsConstant	LDNS_RDF_TYPE_NSEC3_SALT
syn keyword  ldnsConstant	LDNS_RDF_TYPE_NSEC3_NEXT_OWNER
syn keyword  ldnsConstant	LDNS_RDF_TYPE_IPSECKEY
syn keyword  ldnsConstant	LDNS_RDF_TYPE_TSIG
syn keyword  ldnsConstant	LDNS_MAX_RDFLEN
syn keyword  ldnsConstant       LDNS_RDF_SIZE_BYTE             
syn keyword  ldnsConstant       LDNS_RDF_SIZE_WORD             
syn keyword  ldnsConstant       LDNS_RDF_SIZE_DOUBLEWORD       
syn keyword  ldnsConstant       LDNS_RDF_SIZE_6BYTES           
syn keyword  ldnsConstant       LDNS_RDF_SIZE_16BYTES          
syn keyword  ldnsConstant       LDNS_NSEC3_VARS_OPTOUT_MASK

syn keyword  ldnsConstant       LDNS_CERT_PKIX
syn keyword  ldnsConstant       LDNS_CERT_SPKI
syn keyword  ldnsConstant       LDNS_CERT_PGP
syn keyword  ldnsConstant       LDNS_CERT_IPKIX
syn keyword  ldnsConstant       LDNS_CERT_ISPKI
syn keyword  ldnsConstant       LDNS_CERT_IPGP
syn keyword  ldnsConstant       LDNS_CERT_ACPKIX
syn keyword  ldnsConstant       LDNS_CERT_IACPKIX
syn keyword  ldnsConstant       LDNS_CERT_URI
syn keyword  ldnsConstant       LDNS_CERT_OID

" ldns/ldns.h
syn keyword  ldnsConstant	LDNS_PORT
syn keyword  ldnsConstant	LDNS_IP4ADDRLEN
syn keyword  ldnsConstant	LDNS_IP6ADDRLEN
syn keyword  ldnsConstant	LDNS_ROOT_LABEL_STR
syn keyword  ldnsConstant	LDNS_DEFAULT_TTL

" ldns/packet.h
syn keyword  ldnsType           ldns_pkt
syn keyword  ldnsType           ldns_pkt_section
syn keyword  ldnsType		ldns_pkt_type
syn keyword  ldnsType		ldns_pkt_opcode
syn keyword  ldnsType		ldns_pkt_rcode
syn keyword  ldnsType		ldns_hdr
syn keyword  ldnsConstant	LDNS_QR
syn keyword  ldnsConstant	LDNS_AA
syn keyword  ldnsConstant	LDNS_TC
syn keyword  ldnsConstant	LDNS_RD
syn keyword  ldnsConstant	LDNS_CD
syn keyword  ldnsConstant	LDNS_RA
syn keyword  ldnsConstant	LDNS_AD
syn keyword  ldnsConstant	LDNS_MAX_PACKETLEN
syn keyword  ldnsConstant	LDNS_PACKET_QUESTION
syn keyword  ldnsConstant	LDNS_PACKET_REFERRAL
syn keyword  ldnsConstant	LDNS_PACKET_ANSWER
syn keyword  ldnsConstant	LDNS_PACKET_NXDOMAIN
syn keyword  ldnsConstant	LDNS_PACKET_NODATA
syn keyword  ldnsConstant	LDNS_PACKET_UNKNOWN
syn keyword  ldnsConstant	LDNS_SECTION_QUESTION
syn keyword  ldnsConstant	LDNS_SECTION_ANSWER
syn keyword  ldnsConstant	LDNS_SECTION_AUTHORITY
syn keyword  ldnsConstant	LDNS_SECTION_ADDITIONAL
syn keyword  ldnsConstant	LDNS_SECTION_ANY
syn keyword  ldnsConstant	LDNS_SECTION_ANY_NOQUESTION
syn keyword  ldnsConstant	LDNS_PACKET_QUERY
syn keyword  ldnsConstant	LDNS_PACKET_IQUERY
syn keyword  ldnsConstant	LDNS_PACKET_STATUS
syn keyword  ldnsConstant	LDNS_PACKET_NOTIFY
syn keyword  ldnsConstant	LDNS_PACKET_UPDATE

syn keyword  ldnsConstant       LDNS_RCODE_NOERROR
syn keyword  ldnsConstant       LDNS_RCODE_FORMERR
syn keyword  ldnsConstant       LDNS_RCODE_SERVFAIL
syn keyword  ldnsConstant       LDNS_RCODE_NXDOMAIN
syn keyword  ldnsConstant       LDNS_RCODE_NOTIMPL
syn keyword  ldnsConstant       LDNS_RCODE_REFUSED
syn keyword  ldnsConstant       LDNS_RCODE_YXDOMAIN 
syn keyword  ldnsConstant       LDNS_RCODE_YXRRSET
syn keyword  ldnsConstant       LDNS_RCODE_NXRRSET
syn keyword  ldnsConstant       LDNS_RCODE_NOTAUTH
syn keyword  ldnsConstant       LDNS_RCODE_NOTZONE

" dns/error.h
syn keyword ldnsConstant	LDNS_STATUS_OK
syn keyword ldnsConstant	LDNS_STATUS_EMPTY_LABEL
syn keyword ldnsConstant	LDNS_STATUS_LABEL_OVERFLOW
syn keyword ldnsConstant	LDNS_STATUS_DOMAINNAME_OVERFLOW
syn keyword ldnsConstant	LDNS_STATUS_DOMAINNAME_UNDERFLOW
syn keyword ldnsConstant	LDNS_STATUS_DDD_OVERFLOW
syn keyword ldnsConstant	LDNS_STATUS_PACKET_OVERFLOW
syn keyword ldnsConstant	LDNS_STATUS_INVALID_POINTER
syn keyword ldnsConstant	LDNS_STATUS_MEM_ERR
syn keyword ldnsConstant	LDNS_STATUS_INTERNAL_ERR
syn keyword ldnsConstant	LDNS_STATUS_SSL_ERR
syn keyword ldnsConstant	LDNS_STATUS_ERR
syn keyword ldnsConstant	LDNS_STATUS_INVALID_INT
syn keyword ldnsConstant	LDNS_STATUS_INVALID_IP4
syn keyword ldnsConstant	LDNS_STATUS_INVALID_IP6
syn keyword ldnsConstant	LDNS_STATUS_INVALID_STR
syn keyword ldnsConstant	LDNS_STATUS_INVALID_B32_EXT
syn keyword ldnsConstant	LDNS_STATUS_INVALID_B64
syn keyword ldnsConstant	LDNS_STATUS_INVALID_HEX
syn keyword ldnsConstant	LDNS_STATUS_INVALID_TIME
syn keyword ldnsConstant	LDNS_STATUS_NETWORK_ERR
syn keyword ldnsConstant	LDNS_STATUS_ADDRESS_ERR
syn keyword ldnsConstant	LDNS_STATUS_FILE_ERR
syn keyword ldnsConstant	LDNS_STATUS_UNKNOWN_INET
syn keyword ldnsConstant	LDNS_STATUS_NOT_IMPL
syn keyword ldnsConstant	LDNS_STATUS_NULL
syn keyword ldnsConstant	LDNS_STATUS_CRYPTO_UNKNOWN_ALGO
syn keyword ldnsConstant	LDNS_STATUS_CRYPTO_ALGO_NOT_IMPL
syn keyword ldnsConstant	LDNS_STATUS_CRYPTO_NO_RRSIG
syn keyword ldnsConstant	LDNS_STATUS_CRYPTO_NO_DNSKEY
syn keyword ldnsConstant	LDNS_STATUS_CRYPTO_NO_TRUSTED_DNSKEY
syn keyword ldnsConstant	LDNS_STATUS_CRYPTO_NO_DS
syn keyword ldnsConstant	LDNS_STATUS_CRYPTO_NO_TRUSTED_DS
syn keyword ldnsConstant	LDNS_STATUS_CRYPTO_NO_MATCHING_KEYTAG_DNSKEY
syn keyword ldnsConstant	LDNS_STATUS_CRYPTO_VALIDATED
syn keyword ldnsConstant	LDNS_STATUS_CRYPTO_BOGUS
syn keyword ldnsConstant	LDNS_STATUS_CRYPTO_SIG_EXPIRED
syn keyword ldnsConstant	LDNS_STATUS_CRYPTO_SIG_NOT_INCEPTED
syn keyword ldnsConstant	LDNS_STATUS_CRYPTO_TSIG_BOGUS
syn keyword ldnsConstant	LDNS_STATUS_CRYPTO_TSIG_ERR
syn keyword ldnsConstant	LDNS_STATUS_CRYPTO_EXPIRATION_BEFORE_INCEPTION
syn keyword ldnsConstant	LDNS_STATUS_CRYPTO_TYPE_COVERED_ERR
syn keyword ldnsConstant	LDNS_STATUS_ENGINE_KEY_NOT_LOADED
syn keyword ldnsConstant	LDNS_STATUS_NSEC3_ERR
syn keyword ldnsConstant	LDNS_STATUS_RES_NO_NS
syn keyword ldnsConstant	LDNS_STATUS_RES_QUERY
syn keyword ldnsConstant	LDNS_STATUS_WIRE_INCOMPLETE_HEADER
syn keyword ldnsConstant	LDNS_STATUS_WIRE_INCOMPLETE_QUESTION
syn keyword ldnsConstant	LDNS_STATUS_WIRE_INCOMPLETE_ANSWER
syn keyword ldnsConstant	LDNS_STATUS_WIRE_INCOMPLETE_AUTHORITY
syn keyword ldnsConstant	LDNS_STATUS_WIRE_INCOMPLETE_ADDITIONAL
syn keyword ldnsConstant	LDNS_STATUS_NO_DATA
syn keyword ldnsConstant	LDNS_STATUS_CERT_BAD_ALGORITHM
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_TYPE_ERR
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_CLASS_ERR
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_TTL_ERR
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_INCLUDE_ERR_NOTIMPL
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_RDATA_ERR
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_DNAME_ERR
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_VERSION_ERR
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_ALG_ERR
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_KEYWORD_ERR
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_TTL
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_ORIGIN
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_INCLUDE
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_EMPTY
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_ITERATIONS_OVERFLOW
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_MISSING_VALUE_ERR
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_INTEGER_OVERFLOW
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_BAD_ESCAPE
syn keyword ldnsConstant	LDNS_STATUS_SOCKET_ERROR
syn keyword ldnsConstant	LDNS_STATUS_SYNTAX_ERR
syn keyword ldnsConstant	LDNS_STATUS_DNSSEC_EXISTENCE_DENIED
syn keyword ldnsConstant	LDNS_STATUS_DNSSEC_NSEC_RR_NOT_COVERED
syn keyword ldnsConstant	LDNS_STATUS_DNSSEC_NSEC_WILDCARD_NOT_COVERED
syn keyword ldnsConstant	LDNS_STATUS_DNSSEC_NSEC3_ORIGINAL_NOT_FOUND
syn keyword ldnsConstant	LDNS_STATUS_MISSING_RDATA_FIELDS_RRSIG
syn keyword ldnsConstant	LDNS_STATUS_MISSING_RDATA_FIELDS_KEY


" ldns/resolver.h
syn keyword  ldnsType	  	ldns_resolver
syn keyword  ldnsConstant       LDNS_RESOLV_CONF
syn keyword  ldnsConstant       LDNS_RESOLV_HOSTS
syn keyword  ldnsConstant       LDNS_RESOLV_KEYWORD
syn keyword  ldnsConstant       LDNS_RESOLV_DEFDOMAIN
syn keyword  ldnsConstant       LDNS_RESOLV_NAMESERVER
syn keyword  ldnsConstant       LDNS_RESOLV_SEARCH
syn keyword  ldnsConstant       LDNS_RESOLV_SORTLIST
syn keyword  ldnsConstant       LDNS_RESOLV_OPTIONS
syn keyword  ldnsConstant       LDNS_RESOLV_ANCHOR
syn keyword  ldnsConstant       LDNS_RESOLV_KEYWORDS
syn keyword  ldnsConstant       LDNS_RESOLV_INETANY
syn keyword  ldnsConstant       LDNS_RESOLV_INET
syn keyword  ldnsConstant       LDNS_RESOLV_INET6
syn keyword  ldnsConstant       LDNS_RESOLV_RTT_INF
syn keyword  ldnsConstant       LDNS_RESOLV_RTT_MIN

" ldns/zone.h
syn keyword  ldnsType	  	ldns_zone

" ldns/dnssec.h
syn keyword  ldnsConstant       LDNS_NSEC3_MAX_ITERATIONS
syn keyword  ldnsConstant       LDNS_DEFAULT_EXP_TIME
syn keyword  ldnsConstant       LDNS_DNSSEC_KEYPROTO
syn keyword  ldnsConstant	LDNS_MAX_KEYLEN
" ldns/dnssec_sign.h
" --
" ldns/dnssec_zone.h
syn keyword  ldnsType           ldns_dnssec_rrs
syn keyword  ldnsType           ldns_dnssec_rrsets
syn keyword  ldnsType           ldns_dnssec_name
syn keyword  ldnsType           ldns_dnssec_zone
" ldns/dnssec_verify.h
syn keyword  ldnsType           ldns_dnssec_data_chain
syn keyword  ldnsType           ldns_dnssec_trust_tree

" ldns/rr.h 
syn keyword  ldnsType	  	ldns_rr_list 
syn keyword  ldnsType           ldns_rr_descriptor
syn keyword  ldnsType           ldns_rr
syn keyword  ldnsType           ldns_rr_type
syn keyword  ldnsType           ldns_rr_class
syn keyword  ldnsType		ldns_rr_compress

syn keyword  ldnsConstant       LDNS_MAX_LABELLEN     
syn keyword  ldnsConstant       LDNS_MAX_DOMAINLEN
syn keyword  ldnsConstant       LDNS_RR_COMPRESS
syn keyword  ldnsConstant       LDNS_RR_NO_COMPRESS

syn keyword  ldnsConstant	LDNS_RR_CLASS_IN
syn keyword  ldnsConstant	LDNS_RR_CLASS_CH
syn keyword  ldnsConstant	LDNS_RR_CLASS_HS  
syn keyword  ldnsConstant	LDNS_RR_CLASS_NONE
syn keyword  ldnsConstant	LDNS_RR_CLASS_ANY 

syn keyword ldnsConstant	LDNS_RR_TYPE_A
syn keyword ldnsConstant	LDNS_RR_TYPE_A6
syn keyword ldnsConstant	LDNS_RR_TYPE_AAAA
syn keyword ldnsConstant	LDNS_RR_TYPE_AFSDB
syn keyword ldnsConstant	LDNS_RR_TYPE_ANY
syn keyword ldnsConstant	LDNS_RR_TYPE_APL
syn keyword ldnsConstant	LDNS_RR_TYPE_ATMA
syn keyword ldnsConstant	LDNS_RR_TYPE_AXFR
syn keyword ldnsConstant	LDNS_RR_TYPE_CERT
syn keyword ldnsConstant	LDNS_RR_TYPE_CNAME
syn keyword ldnsConstant	LDNS_RR_TYPE_COUNT
syn keyword ldnsConstant	LDNS_RR_TYPE_DHCID
syn keyword ldnsConstant	LDNS_RR_TYPE_DLV
syn keyword ldnsConstant	LDNS_RR_TYPE_DNAME
syn keyword ldnsConstant	LDNS_RR_TYPE_DNSKEY
syn keyword ldnsConstant	LDNS_RR_TYPE_DS
syn keyword ldnsConstant	LDNS_RR_TYPE_EID
syn keyword ldnsConstant	LDNS_RR_TYPE_FIRST
syn keyword ldnsConstant	LDNS_RR_TYPE_GID
syn keyword ldnsConstant	LDNS_RR_TYPE_GPOS
syn keyword ldnsConstant	LDNS_RR_TYPE_HINFO
syn keyword ldnsConstant	LDNS_RR_TYPE_IPSECKEY
syn keyword ldnsConstant	LDNS_RR_TYPE_ISDN
syn keyword ldnsConstant	LDNS_RR_TYPE_IXFR
syn keyword ldnsConstant	LDNS_RR_TYPE_KEY
syn keyword ldnsConstant	LDNS_RR_TYPE_KX
syn keyword ldnsConstant	LDNS_RR_TYPE_LAST 
syn keyword ldnsConstant	LDNS_RR_TYPE_LOC
syn keyword ldnsConstant	LDNS_RR_TYPE_MAILA
syn keyword ldnsConstant	LDNS_RR_TYPE_MAILB
syn keyword ldnsConstant	LDNS_RR_TYPE_MB
syn keyword ldnsConstant	LDNS_RR_TYPE_MD
syn keyword ldnsConstant	LDNS_RR_TYPE_MF
syn keyword ldnsConstant	LDNS_RR_TYPE_MG
syn keyword ldnsConstant	LDNS_RR_TYPE_MINFO
syn keyword ldnsConstant	LDNS_RR_TYPE_MR
syn keyword ldnsConstant	LDNS_RR_TYPE_MX
syn keyword ldnsConstant	LDNS_RR_TYPE_NAPTR
syn keyword ldnsConstant	LDNS_RR_TYPE_NIMLOC
syn keyword ldnsConstant	LDNS_RR_TYPE_NS
syn keyword ldnsConstant	LDNS_RR_TYPE_NSAP
syn keyword ldnsConstant	LDNS_RR_TYPE_NSAP_PTR
syn keyword ldnsConstant	LDNS_RR_TYPE_NSEC
syn keyword ldnsConstant	LDNS_RR_TYPE_NSEC3
syn keyword ldnsConstant	LDNS_RR_TYPE_NSEC3
syn keyword ldnsConstant	LDNS_RR_TYPE_NSEC3PARAM
syn keyword ldnsConstant	LDNS_RR_TYPE_NSEC3PARAMS
syn keyword ldnsConstant	LDNS_RR_TYPE_NSEC3PARAMS
syn keyword ldnsConstant	LDNS_RR_TYPE_NULL
syn keyword ldnsConstant	LDNS_RR_TYPE_NXT
syn keyword ldnsConstant	LDNS_RR_TYPE_OPT
syn keyword ldnsConstant	LDNS_RR_TYPE_PTR
syn keyword ldnsConstant	LDNS_RR_TYPE_PX
syn keyword ldnsConstant	LDNS_RR_TYPE_RP
syn keyword ldnsConstant	LDNS_RR_TYPE_RRSIG
syn keyword ldnsConstant	LDNS_RR_TYPE_RT
syn keyword ldnsConstant	LDNS_RR_TYPE_SIG
syn keyword ldnsConstant	LDNS_RR_TYPE_SINK
syn keyword ldnsConstant	LDNS_RR_TYPE_SOA
syn keyword ldnsConstant	LDNS_RR_TYPE_SPF
syn keyword ldnsConstant	LDNS_RR_TYPE_SRV
syn keyword ldnsConstant	LDNS_RR_TYPE_SSHFP
syn keyword ldnsConstant        LDNS_RR_TYPE_TALINK
syn keyword ldnsConstant	LDNS_RR_TYPE_TSIG
syn keyword ldnsConstant	LDNS_RR_TYPE_TXT
syn keyword ldnsConstant	LDNS_RR_TYPE_UID
syn keyword ldnsConstant	LDNS_RR_TYPE_UINFO
syn keyword ldnsConstant	LDNS_RR_TYPE_UNSPEC
syn keyword ldnsConstant	LDNS_RR_TYPE_WKS
syn keyword ldnsConstant	LDNS_RR_TYPE_X25

" ldns/buffer.h
syn keyword  ldnsType		ldns_buffer
syn keyword  ldnsConstant	LDNS_MIN_BUFLEN

" ldns/host2str.h
syn keyword  ldnsConstant       LDNS_APL_IP4
syn keyword  ldnsConstant       LDNS_APL_IP6
syn keyword  ldnsConstant       LDNS_APL_MASK
syn keyword  ldnsConstant       LDNS_APL_NEGATION

" ldns/keys.h
syn keyword  ldnsType           ldns_key
syn keyword  ldnsType           ldns_key_list
syn keyword  ldnsType           ldns_signing_algorithm
syn keyword  ldnsType           ldns_hash
syn keyword  ldnsType           ldns_algorithm
syn keyword  ldnsConstant       LDNS_KEY_ZONE_KEY
syn keyword  ldnsConstant       LDNS_KEY_SEP_KEY
syn keyword  ldnsConstant       LDNS_KEY_REVOKE_KEY
syn keyword  ldnsConstant       LDNS_SHA1
syn keyword  ldnsConstant       LDNS_SHA256
syn keyword  ldnsConstant       LDNS_HASH_GOST
syn keyword  ldnsConstant       LDNS_SHA384

syn keyword  ldnsConstant       LDNS_SIGN_RSAMD5
syn keyword  ldnsConstant       LDNS_SIGN_RSASHA1
syn keyword  ldnsConstant       LDNS_SIGN_DSA
syn keyword  ldnsConstant       LDNS_SIGN_RSASHA1_NSEC3
syn keyword  ldnsConstant       LDNS_SIGN_RSASHA256
syn keyword  ldnsConstant       LDNS_SIGN_RSASHA512
syn keyword  ldnsConstant       LDNS_SIGN_DSA_NSEC3
syn keyword  ldnsConstant       LDNS_SIGN_ECC_GOST
syn keyword  ldnsConstant       LDNS_SIGN_ECDSAP256SHA256
syn keyword  ldnsConstant       LDNS_SIGN_ECDSAP384SHA384
syn keyword  ldnsConstant       LDNS_SIGN_HMACMD5
syn keyword  ldnsConstant       LDNS_SIGN_HMACSHA1
syn keyword  ldnsConstant       LDNS_SIGN_HMACSHA256

" ldns/wire2host.h
syn keyword  ldnsMacro          LDNS_WIRE2HOST_H
syn keyword  ldnsMacro          LDNS_HEADER_SIZE
syn keyword  ldnsMacro          LDNS_RD_MASK
syn keyword  ldnsMacro          LDNS_RD_SHIFT
syn keyword  ldnsMacro          LDNS_RD_WIRE
syn keyword  ldnsMacro          LDNS_RD_SET
syn keyword  ldnsMacro          LDNS_RD_CLR
syn keyword  ldnsMacro          LDNS_TC_MASK
syn keyword  ldnsMacro          LDNS_TC_SHIFT
syn keyword  ldnsMacro          LDNS_TC_WIRE
syn keyword  ldnsMacro          LDNS_TC_SET
syn keyword  ldnsMacro          LDNS_TC_CLR
syn keyword  ldnsMacro          LDNS_AA_MASK
syn keyword  ldnsMacro          LDNS_AA_SHIFT
syn keyword  ldnsMacro          LDNS_AA_WIRE
syn keyword  ldnsMacro          LDNS_AA_SET
syn keyword  ldnsMacro          LDNS_AA_CLR
syn keyword  ldnsMacro          LDNS_OPCODE_MASK
syn keyword  ldnsMacro          LDNS_OPCODE_SHIFT
syn keyword  ldnsMacro          LDNS_OPCODE_WIRE
syn keyword  ldnsMacro          LDNS_OPCODE_SET
syn keyword  ldnsMacro          LDNS_QR_MASK
syn keyword  ldnsMacro          LDNS_QR_SHIFT
syn keyword  ldnsMacro          LDNS_QR_WIRE
syn keyword  ldnsMacro          LDNS_QR_SET
syn keyword  ldnsMacro          LDNS_QR_CLR
syn keyword  ldnsMacro          LDNS_RCODE_MASK
syn keyword  ldnsMacro          LDNS_RCODE_SHIFT
syn keyword  ldnsMacro          LDNS_RCODE_WIRE
syn keyword  ldnsMacro          LDNS_RCODE_SET
syn keyword  ldnsMacro          LDNS_CD_MASK
syn keyword  ldnsMacro          LDNS_CD_SHIFT
syn keyword  ldnsMacro          LDNS_CD_WIRE
syn keyword  ldnsMacro          LDNS_CD_SET
syn keyword  ldnsMacro          LDNS_CD_CLR
syn keyword  ldnsMacro          LDNS_AD_MASK
syn keyword  ldnsMacro          LDNS_AD_SHIFT
syn keyword  ldnsMacro          LDNS_AD_WIRE
syn keyword  ldnsMacro          LDNS_AD_SET
syn keyword  ldnsMacro          LDNS_AD_CLR
syn keyword  ldnsMacro          LDNS_Z_MASK
syn keyword  ldnsMacro          LDNS_Z_SHIFT
syn keyword  ldnsMacro          LDNS_Z_WIRE
syn keyword  ldnsMacro          LDNS_Z_SET
syn keyword  ldnsMacro          LDNS_Z_CLR
syn keyword  ldnsMacro          LDNS_RA_MASK
syn keyword  ldnsMacro          LDNS_RA_SHIFT
syn keyword  ldnsMacro          LDNS_RA_WIRE
syn keyword  ldnsMacro          LDNS_RA_SET
syn keyword  ldnsMacro          LDNS_RA_CLR
syn keyword  ldnsMacro          LDNS_ID_WIRE
syn keyword  ldnsMacro          LDNS_ID_SET
syn keyword  ldnsMacro          LDNS_QDCOUNT_OFF
syn keyword  ldnsMacro          QDCOUNT
syn keyword  ldnsMacro          LDNS_QDCOUNT
syn keyword  ldnsMacro          LDNS_ANCOUNT_OFF
syn keyword  ldnsMacro          LDNS_ANCOUNT
syn keyword  ldnsMacro          LDNS_NSCOUNT_OFF
syn keyword  ldnsMacro          LDNS_NSCOUNT
syn keyword  ldnsMacro          LDNS_ARCOUNT_OFF
syn keyword  ldnsMacro          LDNS_ARCOUNT

" ldns/host2wire.h
" --

" ldns/* -- All functions
" Created with:
" Get all the functions that start with 'ldns_'
" egrep '^[a-z_]+ [*a-z_0-9]+\(' *.h | sed -e 's/(.*$//' | awk '{print $2}' | \
" sed 's/^\*//' | grep '^ldns' | sort
" Not included, but could be added...?

" Default highlighting
command -nargs=+ HiLink hi def link <args>
HiLink ldnsType                Type
" Currently no functions are defined
HiLink ldnsFunction            Function 
HiLink ldnsMacro               Macro
HiLink ldnsConstant            Constant
delcommand HiLink