gtp/gsn_internal.h: new file

Change-Id: I999462e39411fc4ec7e50bd0212e870006fbc4f1
This commit is contained in:
Oliver Smith
2024-02-23 12:48:39 +01:00
parent 1dd16fa12f
commit bad5eeba0f
5 changed files with 6 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ AM_CFLAGS = \
libgtp_la_SOURCES = \
gsn.c \
gsn_internal.h \
gtp.c \
gtpie.c \
lookupa.c \

View File

@@ -62,6 +62,7 @@
#include <osmocom/gtp/gtpie.h>
#include "queue.h"
#include "gsn_internal.h"
/* Error reporting functions */

3
gtp/gsn_internal.h Normal file
View File

@@ -0,0 +1,3 @@
#pragma once
void gtp_queue_timer_start(struct gsn_t *gsn);

View File

@@ -60,6 +60,7 @@
#include <osmocom/gtp/gtpie.h>
#include "queue.h"
#include "gsn_internal.h"
/* Error reporting functions */

View File

@@ -175,7 +175,4 @@ extern int gtp_fd(struct gsn_t *gsn);
extern int gtp_retrans(struct gsn_t *gsn) OSMO_DEPRECATED("This API is a no-op, libgtp already does the job internally");
extern int gtp_retranstimeout(struct gsn_t *gsn, struct timeval *timeout) OSMO_DEPRECATED("This API is a no-op and will return a 1 day timeout");
/* Internal APIs: */
void gtp_queue_timer_start(struct gsn_t *gsn);
#endif /* !_GSN_H */