/[H8]/trunk/docs/network-interface.txt
ViewVC logotype

Annotation of /trunk/docs/network-interface.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16 - (hide annotations) (download)
Thu Apr 19 10:19:09 2007 UTC (17 years, 1 month ago) by torben
File MIME type: text/plain
File size: 802 byte(s)
Added (very) simple description of network module-interface
1 torben 16 void network_send_hello( unsigned char termid ); //create socket and send hello frame
2     void network_send_scan_frame( unsigned char antal, unsigned char buflen); //sender buflen antal tegn fra global_network_char
3     void network_send_calc_total( void ); //send calc_total frame
4     void network_send_cash_payed( int amount );
5     void network_send_cancel_last( void );
6     void network_send_cancel_all( void );
7     void network_send_goodbye( void ); // send goodbye frame and close socket
8    
9    
10     bool network_got_reply( void ); //did we recieve an answer ??
11    
12     bool network_read_acknowledge( void ); //return the acknowledge field from the last recieved frame
13    
14     void network_read_int(); // putter en int i global_network_int variablen;
15     int network_read_char(); // putter x chars i global_network_char og returnerer x

  ViewVC Help
Powered by ViewVC 1.1.20