port to new RADIUS client library
[radsecproxy.git] / lib / include / radsec / request-impl.h
index 4fa0ca9..d2c14dd 100644 (file)
@@ -1,16 +1,23 @@
 /* See the file COPYING for licensing information.  */
 
+#ifndef _RADSEC_REQUEST_IMPL_H_
+#define _RADSEC_REQUEST_IMPL_H_ 1
+
+#if defined (__cplusplus)
+extern "C" {
+#endif
+
 struct rs_request
 {
   struct rs_connection *conn;
   struct event *timer;
-  struct rs_packet *req;
-  struct rs_packet *resp;
+  struct rs_packet *req_msg;
   struct rs_conn_callbacks saved_cb;
-  int verified;
+  void *saved_user_data;
 };
 
-#define VENDORPEC_MS                        311 /* RFC 2548 */
+#if defined (__cplusplus)
+}
+#endif
 
-#define PW_MS_MPPE_SEND_KEY                 16
-#define PW_MS_MPPE_RECV_KEY                 17
+#endif /* _RADSEC_REQUEST_IMPL_H_ */