Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.78 KB | None | 0 0
  1.  
  2. void InitializeReliableSystem(char const*hostname, int port);
  3.  
  4. bool IsConnected();
  5.  
  6. void SubscribeToBroadcastChannel(int name);
  7. void UnsubscribeFromBroadcastChannel(int name);
  8.  
  9. void SubscribeToList(int name);
  10. void UnsubscribeFromList(int name);
  11.  
  12. bool HasPendingBroadcastMessages();
  13. int GetNextPendingBroadcastMessageLength();
  14. void GetPendingBroadcastMessage(int *channelIndexOut, char *bufferOut, int bufferOutLength);
  15.  
  16. /**
  17.   * @return true If the list has changed since the last successful call to GetCurrentListData()
  18.   */
  19. bool ListNeedsReloading(int name);
  20.  
  21. int GetCurrentListDataLength(int name);
  22.  
  23. /**
  24.   * @return True on success, false if the buffer was too small, list unknown, etc.
  25.   */
  26. bool GetCurrentListData(int name, char *bufferOut, int bufferLength);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement