blob: 940dbce79e3c09eff4a33973c01c33728818fc05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef APP_MOBILE_H
#define APP_MOBILE_H
#include <stdbool.h>
extern char *config_dir;
struct osmocom_ms;
struct vty;
int mobile_delete(struct osmocom_ms *ms, int force);
struct osmocom_ms *mobile_new(char *name);
int mobile_work(struct osmocom_ms *ms);
int mobile_start(struct osmocom_ms *ms, char **other_name);
int mobile_stop(struct osmocom_ms *ms, int force);
void mobile_set_started(struct osmocom_ms *ms, bool state);
void mobile_set_shutdown(struct osmocom_ms *ms, int state);
int script_lua_load(struct vty *vty, struct osmocom_ms *ms, const char *filename);
int script_lua_close(struct osmocom_ms *ms);
/* Internal code. Don't call directly */
int mobile_exit(struct osmocom_ms *ms, int force);
#endif
|