summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso2011-06-07 18:12:01 +0200
committerPablo Neira Ayuso2011-06-07 18:12:01 +0200
commit35809d6f5eb0114605ba6448ddc5fa905ac29a8d (patch)
tree36b0f8f51c6206168052b5f94c1effc5ced515e0
parenthsl: use include/abis/ipaccess.h (diff)
downloadlibosmo-abis-35809d6f5eb0114605ba6448ddc5fa905ac29a8d.tar.gz
libosmo-abis-35809d6f5eb0114605ba6448ddc5fa905ac29a8d.tar.xz
libosmo-abis-35809d6f5eb0114605ba6448ddc5fa905ac29a8d.zip
include: document functions required by hsl driver
This patch is a minor cleanup for internal.h, it confirms that a couple of functions in the ipaccess driver are used by hsl, but not exported further.
-rw-r--r--include/internal.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/internal.h b/include/internal.h
index 23d6261..7d0b151 100644
--- a/include/internal.h
+++ b/include/internal.h
@@ -7,6 +7,11 @@ extern void *libosmo_abis_ctx;
/* use libosmo_abis_init, this is only for internal use. */
void e1inp_init(void);
+/* hsl requires these functions defined in ipaccess driver. */
+struct osmo_fd;
+struct msgb *ipaccess_read_msg(struct osmo_fd *bfd, int *error);
+void ipaccess_prepend_header(struct msgb *msg, int proto);
+
/* things I don't know what to do with yet. */
/* from include/openbsc/signal.h, we need SS_INPUT and S_GLOBAL_SHUTDOWN. */
@@ -64,8 +69,4 @@ enum {
Debug_LastEntry,
};
-struct osmo_fd;
-struct msgb *ipaccess_read_msg(struct osmo_fd *bfd, int *error);
-void ipaccess_prepend_header(struct msgb *msg, int proto);
-
#endif