diff --git a/src/cw/bstrv_create_from_str.c b/src/cw/bstrv_create_from_str.c index e2a2acf6..7acd469c 100644 --- a/src/cw/bstrv_create_from_str.c +++ b/src/cw/bstrv_create_from_str.c @@ -1,7 +1,35 @@ +/* + This file is part of actube. + + actube is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + libcapwap is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Foobar. If not, see . + +*/ + +/** + * @file + */ + #include "bstr.h" #include "format.h" - +/** + * Create a bstrv variable from string. + * @param vendor_id Vendor ID + * @param s string + * @return the created bstrv variable or NULL if the + * operation was not sucessfull + */ uint8_t * bstrv_create_from_str(uint32_t vendor_id,const char *s) { int l = strlen(s);