Commit Graph

10 Commits

Author SHA1 Message Date
Pau Espin 881d5bab4b Get rid of internal.h
Let's create missing header files and move stuff around to have a clear
view of who implements what.

Change-Id: Ib32091d716b33bca58e2d3acf8840b52824c0bd3
2022-07-20 19:23:36 +02:00
Pau Espin 8dc5648176 Move header files to include/osmocom/cbc/ dir
Change-Id: Id6c9f99805169d624a2c6e001fe1983e24fdc5c3
2022-07-04 13:35:47 +02:00
Harald Welte f7434c687f Adjust use of inter-thread-queue with libosmocore API change
during the libosmocore it_q patch review there was some small
API change.

Change-Id: I6a42000057f2efb4554b508debe4312e8f19a745
2021-01-06 12:03:59 +01:00
Harald Welte b76ce452ff move from gettid() to pthread_self()
Whatever you do sucks:
* gettid() doens't have a glibc wrapper function in Debian <= 9
* pthrad_self() returns an opaque pthread_t where we shouldn't really
  make the assumption it's an unsigned long

Change-Id: Ida200de75333e0d35997158000def3cac89759b1
2021-01-06 12:03:59 +01:00
Harald Welte c370c58832 improve HTTP status codes
Change-Id: I685801a16a0a088c5784a1ec1ee665b5ca8b5f70
2021-01-02 12:03:56 +01:00
Harald Welte da91dc3521 Fix REST API completion after successful POST / WRITE
Change-Id: If0c9c446ea0ece78e044961de3cba20a4eb39b9d
2021-01-02 11:42:49 +01:00
Harald Welte 7313772cdb WIP
Change-Id: I240b4be2fbb316e423d1bf366061b08912814011
2020-12-31 19:07:41 +01:00
Harald Welte 50ec65c5af more (and better) logging
Change-Id: Ie6965b154bd0a60559ce40ac4def988d137ba351
2020-12-31 17:32:44 +01:00
Harald Welte edf22db326 more fsm wip
Change-Id: I29c7eca5f56061b66e303b952f8f04c71438fe8b
2020-12-31 01:18:34 +01:00
Harald Welte 41634872dc WIP: use inter-thread queue between REST and main
This way we serialize access to core data structures and also allow
future per-message FSMs in the main thread to first communicate to the
RAN peers before permitting the REST/HTTP worker thread to return
any response back to the external REST interface user.

Change-Id: Ia9f656733cf16412926a6d6dc9e1ff4243d941af
2020-12-30 17:18:31 +01:00