Vendor github.com/mdlayher/wifi and dependencies

This commit is contained in:
Matt Layher 2017-01-09 14:33:55 -05:00
commit 82a2b8fc02
No known key found for this signature in database
GPG key ID: 77BFE531397EDE94
34 changed files with 8970 additions and 0 deletions

1692
vendor/github.com/mdlayher/wifi/internal/nl80211/const.go generated vendored Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,15 @@
// Package nl80211 is an auto-generated package which contains constants and
// types used to access nl80211 information using generic netlink.
//
// Special thanks to Maxim Kupriianov for the cgogen tool, which makes the
// automatic generation of Go constants possible.
//
// https://github.com/xlab/cgogen
//
// Maxim was also kind enough to provide the cgogen example configuration which
// was used to create this package.
//
// https://github.com/xlab/nl80211
package nl80211
//go:generate cgogen -out ../ -nocgo nl80211.yml

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,20 @@
---
GENERATOR:
PackageName: nl80211
PARSER:
IncludePaths: [/usr/include]
SourcesPaths: [nl80211.h]
TRANSLATOR:
ConstRules:
defines: expand
enum: expand
Rules:
const:
- {transform: lower}
- {action: accept, from: "(?i)nl80211_"}
- {action: replace, from: "(?i)nl80211_", to: _}
- {transform: export}
post-global:
- {load: snakecase}