Re-initialize hostapd/wpa_supplicant git repository based on 0.6.3 release
[mech_eap.git] / src / eap_peer / eap_tlv.h
1 /*
2  * EAP peer method: EAP-TLV (draft-josefsson-pppext-eap-tls-eap-07.txt)
3  * Copyright (c) 2004-2008, 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
15 #ifndef EAP_TLV_H
16 #define EAP_TLV_H
17
18 #include "eap_common/eap_tlv_common.h"
19
20 struct wpabuf * eap_tlv_build_nak(int id, u16 nak_type);
21 struct wpabuf * eap_tlv_build_result(int id, u16 status);
22 int eap_tlv_process(struct eap_sm *sm, struct eap_method_ret *ret,
23                     const struct wpabuf *req, struct wpabuf **resp,
24                     int force_failure);
25
26 #endif /* EAP_TLV_H */