1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-18 14:57:47 +00:00
seafile-server/common/seaf-utils.h
feiniks 24b61c929c
Add upgrade repo enc algo RPC (#743)
* Add upgrade repo enc algo RPC

* Add test upgrade repo enc algo

* Add test upgrade repo enc algo

---------

Co-authored-by: Heran Yang <heran.yang@seafile.com>
2025-03-19 11:31:05 +08:00

35 lines
693 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
#endif
char *
seaf_gen_notif_server_jwt (const char *repo_id, const char *username);
char *
seaf_parse_auth_token (const char *auth_token);
void
split_filename (const char *filename, char **name, char **ext);
int
seaf_delete_repo_tokens (SeafRepo *repo);
#endif