Vendor github.com/mdlayher/wifi and dependencies
This commit is contained in:
parent
e9cea11553
commit
82a2b8fc02
34 changed files with 8970 additions and 0 deletions
1692
vendor/github.com/mdlayher/wifi/internal/nl80211/const.go
generated
vendored
Normal file
1692
vendor/github.com/mdlayher/wifi/internal/nl80211/const.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
15
vendor/github.com/mdlayher/wifi/internal/nl80211/doc.go
generated
vendored
Normal file
15
vendor/github.com/mdlayher/wifi/internal/nl80211/doc.go
generated
vendored
Normal 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
|
||||
5080
vendor/github.com/mdlayher/wifi/internal/nl80211/nl80211.h
generated
vendored
Normal file
5080
vendor/github.com/mdlayher/wifi/internal/nl80211/nl80211.h
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
20
vendor/github.com/mdlayher/wifi/internal/nl80211/nl80211.yml
generated
vendored
Normal file
20
vendor/github.com/mdlayher/wifi/internal/nl80211/nl80211.yml
generated
vendored
Normal 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}
|
||||
Loading…
Add table
Add a link
Reference in a new issue