added .gitignore files to NM applet
[strongswan.git] / src / charon / sa / trap_manager.h
index 21c6843..cb6907c 100644 (file)
@@ -11,8 +11,6 @@
  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  * for more details.
- *
- * $Id$
  */
 
 /**
@@ -41,7 +39,8 @@ struct trap_manager_t {
         * @param child         child configuration to install as a trap
         * @return                      reqid of installed CHILD_SA, 0 if failed
         */
-       u_int (*install)(trap_manager_t *this, peer_cfg_t *peer, child_cfg_t *child);
+       u_int32_t (*install)(trap_manager_t *this, peer_cfg_t *peer,
+                                                child_cfg_t *child);
        
        /**
         * Uninstall a trap policy.
@@ -49,7 +48,7 @@ struct trap_manager_t {
         * @param id            reqid of CHILD_SA to uninstall, returned by install()
         * @return                      TRUE if uninstalled successfully
         */
-       bool (*uninstall)(trap_manager_t *this, u_int reqid);
+       bool (*uninstall)(trap_manager_t *this, u_int32_t reqid);
        
        /**
         * Create an enumerator over all installed traps.
@@ -65,8 +64,8 @@ struct trap_manager_t {
         * @param src           source of the triggering packet
         * @param dst           destination of the triggering packet
         */
-       void (*acquire)(trap_manager_t *this, u_int reqid, traffic_selector_t *src,
-                                       traffic_selector_t *dst);
+       void (*acquire)(trap_manager_t *this, u_int32_t reqid,
+                                       traffic_selector_t *src, traffic_selector_t *dst);
        
        /**
         * Destroy a trap_manager_t.