mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-08-31 15:11:08 +00:00
* Get nickname use seahub API * Add parse site_root * Use regex to match SECRET_KEY --------- Co-authored-by: 杨赫然 <heran.yang@seafile.com>
25 lines
519 B
C
25 lines
519 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);
|
|
|
|
#ifdef FULL_FEATURE
|
|
void
|
|
load_seahub_private_key (SeafileSession *session, const char *conf_dir);
|
|
#endif
|
|
|
|
#endif
|