Ignore:
Timestamp:
09/29/06 14:35:03 (15 years ago)
Author:
Scott Raynel <smr26@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
40d0efc
Parents:
742a332
Message:

Make some previously exported trace_get_wireless functions static, as they don't either aren't useful yet or aren't necessarily portable across drivers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/link_wireless.c

    r52c7cda r5696294  
    194194}
    195195
    196 DLLEXPORT bool trace_get_wireless_flags(void *link,
     196/*
     197 * This function isn't portable across drivers, so has been left static
     198 * for now. Maybe it will be included in the API later if it becomes useful
     199 * and we come up with a suitable abstraction.
     200 */
     201static
     202bool trace_get_wireless_flags(void *link,
    197203                libtrace_linktype_t linktype, uint8_t *flags)
    198204{
     
    271277}
    272278
    273 DLLEXPORT bool trace_get_wireless_channel_flags(void *link,
     279/*
     280 * This function isn't portable across drivers, so has been left static
     281 * for now. Maybe it will be included in the API later if it becomes useful
     282 * and we come up with a suitable abstraction.
     283 */
     284static
     285bool trace_get_wireless_channel_flags(void *link,
    274286                libtrace_linktype_t linktype, uint16_t *flags)
    275287{
     
    299311}
    300312
    301 DLLEXPORT bool trace_get_wireless_fhss_hopset(void *link,
     313/* Not sure that this function is useful for now - who uses FHSS?
     314 * This might get exported in the future if it becomes useful
     315 */
     316static
     317bool trace_get_wireless_fhss_hopset(void *link,
    302318                libtrace_linktype_t linktype, uint8_t *hopset)
    303319{
     
    326342}
    327343
    328 DLLEXPORT bool trace_get_wireless_fhss_hoppattern(void *link,
     344/* Not sure that this function is useful for now - who uses FHSS?
     345 * This might get exported in the future if it becomes useful
     346 */
     347static
     348bool trace_get_wireless_fhss_hoppattern(void *link,
    329349                libtrace_linktype_t linktype, uint8_t *hoppattern)
    330350{
     
    445465}
    446466
    447 DLLEXPORT bool trace_get_wireless_lock_quality(void *link,
     467/* Not sure if this function is useful. As the radiotap documentation says,
     468 * there's no set metric for defining the quality of the Barker Code Lock.
     469 * Maybe it will be exported later if it becomes useful.
     470 */
     471static
     472bool trace_get_wireless_lock_quality(void *link,
    448473                libtrace_linktype_t linktype, uint16_t *quality)
    449474{
Note: See TracChangeset for help on using the changeset viewer.