This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues/pull-requests.
2017-08-25 11:42:43 +02:00
|
|
|
#ifndef __REMOTED_H__
|
|
|
|
#define __REMOTED_H__
|
|
|
|
|
2018-10-04 01:22:50 +02:00
|
|
|
#include "../../core/client.h"
|
2018-10-09 13:20:26 +02:00
|
|
|
#include "../../core/message.h"
|
|
|
|
#include "message.h"
|
2017-08-25 11:42:43 +02:00
|
|
|
|
|
|
|
#define REMOTED_SERVICE_NAME "remoted"
|
|
|
|
|
2017-08-26 19:42:54 +02:00
|
|
|
struct remoted_ctx {
|
2017-08-28 00:03:35 +02:00
|
|
|
char * unix_socket_dir;
|
|
|
|
/* TODO: authorizations */
|
2017-08-26 19:42:54 +02:00
|
|
|
};
|
|
|
|
|
2018-10-04 00:30:47 +02:00
|
|
|
void remoted_main_loop (struct ipc_service *srv, struct remoted_ctx *ctx);
|
2017-08-28 00:03:35 +02:00
|
|
|
void remoted_free_ctx (struct remoted_ctx *ctx);
|
2017-08-25 11:42:43 +02:00
|
|
|
|
|
|
|
#endif
|