SpaceBubble  v0.98
Enumerations | Functions
http.h File Reference

The file contain the http (network) class. More...

Go to the source code of this file.

Enumerations

enum  {
  TCP_INIT =0, TCP_REQUEST1a =1, TCP_REQUEST1b =2, TCP_REQUEST2a =3,
  TCP_REQUEST2b =4, TCP_REQUEST3a =5, TCP_REQUEST3b =6, TCP_REQUEST4a =7,
  TCP_REQUEST4b =8, TCP_ERROR =9, TCP_RETRY =10, TCP_IDLE =11,
  TCP_END =12
}
 

Functions

void tcp_init_layer (void)
 
int tcp_start_thread (const char *name, const char *version, const char *id1, const char *url1, const char *id2, const char *url2, const char *id3, const char *url3, const char *id4, const char *url4, const char *token, const char *userData2, const char *userData3)
 
int tcp_stop_thread (void)
 
char * tcp_get_state (void)
 
int tcp_get_state_nr (void)
 
int tcp_set_state (int state, char *userData3)
 
char * tcp_get_version (void)
 
char * tcp_get_releasenote (void)
 
char * tcp_get_today_highscore (void)
 
char * tcp_get_global_highscore (void)
 

Detailed Description

The file contain the http (network) class.

Author
wplaat

Copyright (C) 2008-2010 PlaatSoft

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Enumeration Type Documentation

anonymous enum
Enumerator
TCP_INIT 
TCP_REQUEST1a 
TCP_REQUEST1b 
TCP_REQUEST2a 
TCP_REQUEST2b 
TCP_REQUEST3a 
TCP_REQUEST3b 
TCP_REQUEST4a 
TCP_REQUEST4b 
TCP_ERROR 
TCP_RETRY 
TCP_IDLE 
TCP_END 

Function Documentation

char* tcp_get_global_highscore ( void  )
char* tcp_get_releasenote ( void  )
char* tcp_get_state ( void  )
int tcp_get_state_nr ( void  )
char* tcp_get_today_highscore ( void  )
char* tcp_get_version ( void  )
void tcp_init_layer ( void  )
int tcp_set_state ( int  state,
char *  userData3 
)
int tcp_start_thread ( const char *  name,
const char *  version,
const char *  id1,
const char *  url1,
const char *  id2,
const char *  url2,
const char *  id3,
const char *  url3,
const char *  id4,
const char *  url4,
const char *  token,
const char *  userData2,
const char *  userData3 
)
int tcp_stop_thread ( void  )