aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/android/android_service.h
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-06-24 14:00:39 +0200
committerTobias Brunner <tobias@strongswan.org>2010-06-24 14:30:05 +0200
commit8b775e99eaddda50d2cfb61e1fb301d0c883abe9 (patch)
tree5575ccbb89335b56a6c88c7862fe51d84d7fb650 /src/libcharon/plugins/android/android_service.h
parent94ec9adc1088825ff59ef0be772740c1a97d2e0c (diff)
downloadstrongswan-8b775e99eaddda50d2cfb61e1fb301d0c883abe9.tar.bz2
strongswan-8b775e99eaddda50d2cfb61e1fb301d0c883abe9.tar.xz
Implement the listener_t interface in the Android plugin to track the status of an SA.
Diffstat (limited to 'src/libcharon/plugins/android/android_service.h')
-rw-r--r--src/libcharon/plugins/android/android_service.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libcharon/plugins/android/android_service.h b/src/libcharon/plugins/android/android_service.h
index 1257efa03..d096d6cd5 100644
--- a/src/libcharon/plugins/android/android_service.h
+++ b/src/libcharon/plugins/android/android_service.h
@@ -23,6 +23,8 @@
typedef struct android_service_t android_service_t;
+#include <bus/listeners/listener.h>
+
#include "android_creds.h"
/**
@@ -31,6 +33,11 @@ typedef struct android_service_t android_service_t;
struct android_service_t {
/**
+ * Implements listener_t.
+ */
+ listener_t listener;
+
+ /**
* Destroy a android_service_t.
*/
void (*destroy)(android_service_t *this);