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);
|
|
|
|
|
2024-07-30 09:58:18 +00:00
|
|
|
#ifdef FULL_FEATURE
|
|
|
|
#endif
|
2024-07-10 08:34:33 +00:00
|
|
|
|
2024-07-31 10:03:41 +00:00
|
|
|
char *
|
|
|
|
seaf_gen_notif_server_jwt (const char *repo_id, const char *username);
|
|
|
|
|
2024-08-29 07:28:41 +00:00
|
|
|
char *
|
|
|
|
seaf_parse_auth_token (const char *auth_token);
|
|
|
|
|
2024-09-27 09:20:04 +00:00
|
|
|
void
|
|
|
|
split_filename (const char *filename, char **name, char **ext);
|
|
|
|
|
2016-08-10 06:53:33 +00:00
|
|
|
#endif
|