123456789101112131415161718192021222324252627282930313233343536 |
- #ifndef __TICKET_H_
- #define __TICKET_H_
- #include "includes.h"
- typedef enum{
- TICKET_PT_DOMAIN,
- TICKET_PT_NETWORK,
- TICKET_PT_QUECOM,
- TICKET_PT_QUEREC,
- TICKET_PT_LOGININFO,
- TICKET_PT_LOGINCON,
- TICKET_PT_LOGIN,
- TICKET_PT_POCPLY,
- TICKET_PT_POCREC,
- TICKET_PT_HOOK,
- TICKET_PT_AUTH,
- TICKET_PT_GROUP,
- TICKET_PT_TUP,
- #if defined ENABLE_BUBIAO_GPS
- TICKET_PT_GPS,
- TICKET_PT_BUBIAO,
- #endif
- TICKET_PT_MAX
- }TICKET_ENUM;
- //投票
- void ticketVote(TICKET_ENUM vote);
- //撤票
- void ticketDeVote(TICKET_ENUM vote);
- void ticketReset(void);
- PT_THREAD (ptTicketTask(pt_timer_t *ptPool, struct pt *pt));
- void WakeupNow(char *name);
- #endif
|