25 lines
386 B
C
25 lines
386 B
C
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#include "stellar/appid.h"
|
|
|
|
#define MAX_APPID_NUM 8
|
|
#define APPID_MESSAGE_TOPIC "TOPIC_APPID"
|
|
|
|
struct appid_message
|
|
{
|
|
struct session *sess;
|
|
enum APPID_ORIGIN origin;
|
|
uint32_t appid_num;
|
|
int32_t appid[MAX_APPID_NUM];
|
|
uint32_t surrogate_id[MAX_APPID_NUM];
|
|
uint32_t packet_sequence[MAX_APPID_NUM];
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |