OpenWrt_Luci_Lua/1_8.sip_push/nebula_sdk/sdk/push.h
2015-06-13 23:06:56 +08:00

17 lines
332 B
C

#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