mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-08-22 00:33:53 +00:00
* Add parse seahub database config * Get nickname from seahub database * Go get nickname from seahub database * Save output of script to memory and fix some errors * Add exec permission and free child_output --------- Co-authored-by: 杨赫然 <heran.yang@seafile.com>
23 lines
473 B
C
23 lines
473 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);
|
|
|
|
int
|
|
load_seahub_database_config (SeafileSession *session);
|
|
|
|
#endif
|