1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-07-01 17:31:54 +00:00
seafile-server/common/seaf-utils.h
feiniks 52586639ac
Merge the functions of ccnet-server into seafile-server (#293)
* merge the api of ccnet into seafile

* merge the api of ccnet into seafile

* Dont't need to include the header

* merge the api of ccnet into seafile

* add enable ldap

* The unit test dont't need to start ccnet-server

* Modify some funcion names and fuse don't need org management

* Modify indent
2020-04-15 10:21:04 +08:00

26 lines
512 B
C

#ifndef SEAF_UTILS_H
#define SEAF_UTILS_H
#include <searpc-client.h>
struct _SeafileSession;
char *
seafile_session_get_tmp_file_path (struct _SeafileSession *session,
const char *basename,
char path[]);
int
load_database_config (struct _SeafileSession *session);
int
load_ccnet_database_config (struct _SeafileSession *session);
SearpcClient *
create_ccnet_rpc_client ();
void
release_ccnet_rpc_client (SearpcClient *client);
#endif