Initial commit

FossilOrigin-Name: 5e74bd3b591382253eff1ef73e72bcef980ea8df1cbea81cd8c6fe4d5bf38947
This commit is contained in:
7u83@mail.ru
2014-09-14 20:47:51 +00:00
parent 4f7def25f2
commit 3ad816b166
5 changed files with 4751 additions and 0 deletions

22
src/wtp/enum2array.php Normal file
View File

@ -0,0 +1,22 @@
<?php
$data = file_get_contents("nl80211attr.txt");
$values = explode(",",$data);
echo "/*
Generated by php
Do not modify
*/
";
echo "char nlt_attrname[] = {\n";
$c="";
foreach($values as $val){
echo $c.'"'.trim($val).'"';
$c=",\n";
}
echo "\n};";