✨ feat(plugin manager): integrated plugin manager, build success
This commit is contained in:
17
include/stellar/session_exdata.h
Normal file
17
include/stellar/session_exdata.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include "stellar.h"
|
||||
|
||||
typedef void session_exdata_free(struct session *sess, int idx, void *ex_ptr, void *arg);
|
||||
int stellar_session_exdata_new_index(struct stellar *st, const char *name, session_exdata_free *free_func,void *arg);
|
||||
int session_exdata_set(struct session *sess, int idx, void *ex_ptr);
|
||||
void *session_exdata_get(struct session *sess, int idx);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user