Removed internal C client functions from the C client header.
This commit is contained in:
@@ -84,22 +84,6 @@ XPCSocket openUDP(const char *xpIP, unsigned short xpPort, unsigned short port);
|
||||
/// \param sock The socket to close.
|
||||
void closeUDP(XPCSocket sock);
|
||||
|
||||
/// Sends the given data to the X-Plane plugin.
|
||||
///
|
||||
/// \param sock The socket to use to send the data.
|
||||
/// \param buffer A pointer to the data to send.
|
||||
/// \param len The number of bytes to send.
|
||||
/// \returns If an error occurs, a negative number. Otehrwise, the number of bytes sent.
|
||||
int sendUDP(XPCSocket sock, char buffer[], int len);
|
||||
|
||||
/// Reads a datagram from the specified socket.
|
||||
///
|
||||
/// \param sock The socket to read from.
|
||||
/// \param buffer A pointer to the location to store the data.
|
||||
/// \param len The number of bytes to read.
|
||||
/// \returns If an error occurs, a negative number. Otehrwise, the number of bytes read.
|
||||
int readUDP(XPCSocket sock, char buffer[], int len);
|
||||
|
||||
// Configuration
|
||||
|
||||
/// Sets the port on which the socket sends and receives data.
|
||||
|
||||
Reference in New Issue
Block a user