LCOV - code coverage report
Current view: top level - src/ap - iapp.h (source / functions) Hit Total Coverage
Test: wpa_supplicant/hostapd combined for hwsim test run 1393793999 Lines: 2 6 33.3 %
Date: 2014-03-02 Functions: 1 3 33.3 %
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /*
       2                 :            :  * hostapd / IEEE 802.11F-2003 Inter-Access Point Protocol (IAPP)
       3                 :            :  * Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi>
       4                 :            :  *
       5                 :            :  * This software may be distributed under the terms of the BSD license.
       6                 :            :  * See README for more details.
       7                 :            :  */
       8                 :            : 
       9                 :            : #ifndef IAPP_H
      10                 :            : #define IAPP_H
      11                 :            : 
      12                 :            : struct iapp_data;
      13                 :            : 
      14                 :            : #ifdef CONFIG_IAPP
      15                 :            : 
      16                 :            : void iapp_new_station(struct iapp_data *iapp, struct sta_info *sta);
      17                 :            : struct iapp_data * iapp_init(struct hostapd_data *hapd, const char *iface);
      18                 :            : void iapp_deinit(struct iapp_data *iapp);
      19                 :            : 
      20                 :            : #else /* CONFIG_IAPP */
      21                 :            : 
      22                 :          0 : static inline void iapp_new_station(struct iapp_data *iapp,
      23                 :            :                                     struct sta_info *sta)
      24                 :            : {
      25                 :          0 : }
      26                 :            : 
      27                 :          0 : static inline struct iapp_data * iapp_init(struct hostapd_data *hapd,
      28                 :            :                                            const char *iface)
      29                 :            : {
      30                 :          0 :         return NULL;
      31                 :            : }
      32                 :            : 
      33                 :        429 : static inline void iapp_deinit(struct iapp_data *iapp)
      34                 :            : {
      35                 :        429 : }
      36                 :            : 
      37                 :            : #endif /* CONFIG_IAPP */
      38                 :            : 
      39                 :            : #endif /* IAPP_H */

Generated by: LCOV version 1.9