Skip to content

Commit

Permalink
Cleanup: Deleted obsolete and unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 27, 2012
1 parent caf2f1b commit 33cd603
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 384 deletions.
29 changes: 29 additions & 0 deletions doomsday/engine/portable/include/masterserver.h
Expand Up @@ -76,10 +76,39 @@ public slots:
extern "C" {
#endif

/**
* Called while initializing the low-level network subsystem.
*/
void N_MasterInit(void);

/**
* Called during engine shutdown.
*/
void N_MasterShutdown(void);

/**
* Sends a server announcement to the master. The announcement includes our
* IP address and other information.
*
* @param isOpen If @c true, then the server will be
* visible on the server list for other clients to
* find by querying the server list.
*/
void N_MasterAnnounceServer(boolean isOpen);

/**
* Requests the list of open servers from the master.
*/
void N_MasterRequestList(void);

/**
* Returns information about the server #N.
*
* @return @c 0, if communication with the master is currently in progress. If
* param info is @c NULL, will return the number of known servers ELSE, will
* return @c not zero, if param index was valid and the master returned info on
* the requested server.
*/
int N_MasterGet(int index, serverinfo_t *info);

#ifdef __cplusplus
Expand Down

0 comments on commit 33cd603

Please sign in to comment.