aboutsummaryrefslogtreecommitdiffstats
path: root/gtp
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-06-03 05:51:29 +0200
committerHarald Welte <laforge@gnumonks.org>2010-06-03 05:52:10 +0200
commitdc3744fda045f9fca83de6881176987335a309a8 (patch)
tree09274278a6462c11cc887c01532587ff4e38c029 /gtp
parent47122e78fc0d7f79cc98afbd864a61cc71fab8c5 (diff)
Extend 'struct pdp_t' with a void *priv pointer for application use
Diffstat (limited to 'gtp')
-rw-r--r--gtp/pdp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtp/pdp.h b/gtp/pdp.h
index 13ae280..624c4ac 100644
--- a/gtp/pdp.h
+++ b/gtp/pdp.h
@@ -212,7 +212,8 @@ struct pdp_t {
struct in_addr hisaddr0; /* Server address */
struct in_addr hisaddr1; /* Server address */
-
+ /* to be used by libgtp callers/users (to attach their own private state) */
+ void *priv;
};