1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-07-16 08:15:51 +00:00
seafile-server/server/notif-mgr.h
feiniks d6f6127641
Add notification server (#535)
* Add notification server of go

Modify path of pkg

Send notification for update-repo event

Delete client pkg and use reflect select to send message

Modify output of log

Add formatter of log

Add jwt authentication

go add get jwt token api

CI support compile libjwt

Get group users from database

* Add ping to test mysql is alive

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-12-16 15:29:01 +08:00

20 lines
409 B
C

#ifndef HTTP_NOTIFICATION_MGR_H
#define HTTP_NOTIFICATION_MGR_H
struct _NotifManager {
struct _SeafileSession *seaf;
struct _NotifPriv *priv;
};
typedef struct _NotifManager NotifManager;
NotifManager *
seaf_notif_manager_new (struct _SeafileSession *seaf, char *url, char *token);
void
seaf_notif_manager_send_event (NotifManager *mgr,
const char *msg);
#endif