Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
kb_machblue_client_vote.h
Package: ST_5105DTV.rar [view]
Upload User: fy98168
Upload Date: 2015-06-26
Package Size: 13771k
Code Size: 1k
Category:
DVD
Development Platform:
C/C++
- //*****************************************************************************
- //FileName:kb_machblue_client_vote.h
- //
- //Description:
- //
- //Author:steven
- //
- //Date: 2007.03.17
- //
- //Version: v1.0
- //*****************************************************************************
- #ifndef KB_MACHBLUE_CLIENT_VOTE_H
- #define KB_MACHBLUE_CLIENT_VOTE_H
- //length of movie name
- #define KB_VOTE_RESULT_COUNT 30
- //
- typedef struct kb_vote_s
- {
- unsigned char name[60];
- unsigned long index;
- unsigned long ip;
- unsigned long count;
- }kb_vote_t;
- //
- typedef struct kb_vote_result_s
- {
- unsigned char index;
- unsigned long result;
- }kb_vote_result_t;
- //
- typedef struct kb_vote_info_s
- {
- unsigned char name[60];
- kb_vote_result_t result[KB_VOTE_RESULT_COUNT];
- unsigned char resCount;
- }kb_vote_info_t;
- /**
- * Send vote information to server
- * pVote < vote information >
- * @return None.
- */
- extern BOOL kb_vote_info_send(kb_vote_t *pVote);
- /**
- * Get vote result from server
- * pName < name of vote movie >
- * @return None.
- */
- extern BOOL kb_vote_result_get(unsigned char *pName,kb_vote_info_t * kb_voteResult);
- #endif