您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ctrl_iface.h 880B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * hostapd / UNIX domain socket -based control interface
  3. * Copyright (c) 2004, Jouni Malinen <j@w1.fi>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. *
  9. * Alternatively, this software may be distributed under the terms of BSD
  10. * license.
  11. *
  12. * See README and COPYING for more details.
  13. */
  14. #ifndef CTRL_IFACE_H
  15. #define CTRL_IFACE_H
  16. #ifndef CONFIG_NO_CTRL_IFACE
  17. int hostapd_ctrl_iface_init(struct hostapd_data *hapd);
  18. void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd);
  19. #else /* CONFIG_NO_CTRL_IFACE */
  20. static inline int hostapd_ctrl_iface_init(struct hostapd_data *hapd)
  21. {
  22. return 0;
  23. }
  24. static inline void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd)
  25. {
  26. }
  27. #endif /* CONFIG_NO_CTRL_IFACE */
  28. #endif /* CTRL_IFACE_H */