summaryrefslogtreecommitdiff
path: root/package/supl/patches/patch-src_supl_h
blob: c2e9e8da45b2dd997db335ab6e56e675e12945c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
	- implement bind to device functionality
--- trunk.orig/src/supl.h	2011-10-21 20:08:29.000000000 +0200
+++ trunk/src/supl.h	2013-04-24 18:52:14.916232733 +0200
@@ -19,6 +19,7 @@
 #include <openssl/ssl.h>
 #include <PDU.h>
 #include <ULP-PDU.h>
+#include <net/if.h>
 
 #define SUPL_PORT "7275"
 
@@ -204,6 +205,7 @@ typedef struct supl_ctx_s {
     size_t size;
   } slp_session_id;
 
+  char iface[IFNAMSIZ + 1];
 } supl_ctx_t;
 
 int supl_ctx_new(supl_ctx_t *ctx);