Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141181
b: refs/heads/master
c: 8521258
h: refs/heads/master
i:
  141179: d2431af
v: v3
  • Loading branch information
Moritz Muehlenhoff authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 33f1518 commit f972684
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 104 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 482a41361a9ac571cee265f44daaadd09e402cb1
refs/heads/master: 8521258c7697dd6ba9b03376967fe664dc09db11
103 changes: 0 additions & 103 deletions trunk/drivers/staging/wlan-ng/p80211types.h
Original file line number Diff line number Diff line change
Expand Up @@ -414,108 +414,5 @@ extern p80211enum_t MKENUMNAME(lnxroam_reason);

extern p80211enum_t MKENUMNAME(p2preamble);

/*================================================================*/
/* Function Declarations */

/*----------------------------------------------------------------*/
/* The following declare some utility functions for use with the */
/* p80211enum_t type. */

u32 p80211enum_text2int(p80211enum_t *ep, char *text);
u32 p80211enum_int2text(p80211enum_t *ep, u32 val, char *text);
void p80211_error2text(int err_code, char *err_str);

/*----------------------------------------------------------------*/
/* The following declare some utility functions for use with the */
/* p80211item_t and p80211meta_t types. */

/*----------------------------------------------------------------*/
/* The following declare functions that perform validation and */
/* text to binary conversions based on the metadata for interface */
/* and MIB data items. */
/*----------------------------------------------------------------*/

/*-- DISPLAYSTR ------------------------------------------------------*/
/* pstr ==> cstr */
void p80211_totext_displaystr( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );

/* cstr ==> pstr */
void p80211_fromtext_displaystr( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );

/* function that checks validity of a displaystr binary value */
u32 p80211_isvalid_displaystr( struct catlistitem *metalist, u32 did, u8 *itembuf );

/*-- OCTETSTR --------------------------------------------------------*/
/* pstr ==> "xx:xx:...." */
void p80211_totext_octetstr( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );

/* "xx:xx:...." ==> pstr */
void p80211_fromtext_octetstr( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );

/* function that checks validity of an octetstr binary value */
u32 p80211_isvalid_octetstr( struct catlistitem *metalist, u32 did, u8 *itembuf );

/*-- int -------------------------------------------------------------*/
/* u32 ==> %d */
void p80211_totext_int( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );

/* %d ==> u32 */
void p80211_fromtext_int( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );

/* function that checks validity of an int's binary value (always successful) */
u32 p80211_isvalid_int( struct catlistitem *metalist, u32 did, u8 *itembuf );

/*-- ENUMint ---------------------------------------------------------*/
/* u32 ==> <valuename> */
void p80211_totext_enumint( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );

/* <valuename> ==> u32 */
void p80211_fromtext_enumint( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );

/* function that checks validity of an enum's binary value */
u32 p80211_isvalid_enumint( struct catlistitem *metalist, u32 did, u8 *itembuf );

/*-- intARRAY --------------------------------------------------------*/
/* u32[] => %d,%d,%d,... */
void p80211_totext_intarray( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );

/* %d,%d,%d,... ==> u32[] */
void p80211_fromtext_intarray( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );

/* function that checks validity of an integer array's value */
u32 p80211_isvalid_intarray( struct catlistitem *metalist, u32 did, u8 *itembuf );

/*-- BITARRAY --------------------------------------------------------*/
/* u32 ==> %d,%d,%d,... */
void p80211_totext_bitarray( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );

/* %d,%d,%d,... ==> u32 */
void p80211_fromtext_bitarray( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );

/* function that checks validity of a bit array's value */
u32 p80211_isvalid_bitarray( struct catlistitem *metalist, u32 did, u8 *itembuf );

/*-- MACARRAY --------------------------------------------------------*/
void p80211_totext_macarray( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );

void p80211_fromtext_macarray( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );

/* function that checks validity of a MAC address array's value */
u32 p80211_isvalid_macarray( struct catlistitem *metalist, u32 did, u8 *itembuf );

/*-- MIBATTRIUBTE ------------------------------------------------------*/
/* <mibvalue> ==> <textual representation identified in MIB metadata> */
void p80211_totext_getmibattribute( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );
void p80211_totext_setmibattribute( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );


/* <textual representation identified in MIB metadata> ==> <mibvalue> */
void p80211_fromtext_getmibattribute( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );
void p80211_fromtext_setmibattribute( struct catlistitem *metalist, u32 did, u8 *itembuf, char *textbuf );

/* function that checks validity of a mibitem's binary value */
u32 p80211_isvalid_getmibattribute( struct catlistitem *metalist, u32 did, u8 *itembuf );
u32 p80211_isvalid_setmibattribute( struct catlistitem *metalist, u32 did, u8 *itembuf );

#endif /* _P80211TYPES_H */

0 comments on commit f972684

Please sign in to comment.