mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-01 07:26:37 +00:00
* Add gen_jwt_token RPC * Set error when failed to generate jwt token * Modify RPC name --------- Co-authored-by: 杨赫然 <heran.yang@seafile.com>
28 lines
598 B
C
28 lines
598 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
|
|
|
|
char *
|
|
seaf_gen_notif_server_jwt (const char *repo_id, const char *username);
|
|
|
|
#endif
|