2016-08-10 06:53:33 +00:00
|
|
|
#ifndef SEAF_UTILS_H
|
|
|
|
#define SEAF_UTILS_H
|
|
|
|
|
2019-06-28 05:30:31 +00:00
|
|
|
#include <searpc-client.h>
|
|
|
|
|
2016-08-10 06:53:33 +00:00
|
|
|
struct _SeafileSession;
|
|
|
|
|
|
|
|
char *
|
|
|
|
seafile_session_get_tmp_file_path (struct _SeafileSession *session,
|
|
|
|
const char *basename,
|
|
|
|
char path[]);
|
|
|
|
|
|
|
|
int
|
|
|
|
load_database_config (struct _SeafileSession *session);
|
|
|
|
|
2020-04-15 02:21:04 +00:00
|
|
|
int
|
|
|
|
load_ccnet_database_config (struct _SeafileSession *session);
|
|
|
|
|
2019-06-28 05:30:31 +00:00
|
|
|
SearpcClient *
|
2019-07-01 08:41:41 +00:00
|
|
|
create_ccnet_rpc_client ();
|
|
|
|
|
|
|
|
void
|
|
|
|
release_ccnet_rpc_client (SearpcClient *client);
|
|
|
|
|
2016-08-10 06:53:33 +00:00
|
|
|
#endif
|