OpenWrt_Luci_Lua/1_8.sip_push/nebula_sdk/sdk/push.h

17 lines
332 B
C
Raw Normal View History

2015-06-13 14:34:38 +00:00
#ifndef PUSH_H
#define PUSH_H
#include "nebula_proto.h"
// push
// Send sync request to server when received MSGPUSH.
// Remember push sequences in memory.
int NebulaInitPush();
void NebulaOnPush(NebulaHeader *head, const char* data, int len);
void NebulaOnMsg(NebulaHeader *head, const char* data, int len);
#endif //PUSH_H