Overview
Comment: | Remove redundant method definitions. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
06c6cdbd34c23c2c633e5b1b0ba1f254 |
User & Date: | js on 2008-12-07 10:39:30 |
Other Links: | manifest | tags |
Context
2008-12-07
| ||
10:48 | Very small API change. check-in: 88053589dc user: js tags: trunk | |
10:39 | Remove redundant method definitions. check-in: 06c6cdbd34 user: js tags: trunk | |
10:35 | Add - close to OFStream. check-in: 657fae20a4 user: js tags: trunk | |
Changes
Modified src/OFFile.h from [2c1ca1f133] to [a86ed41196].
︙ | ︙ | |||
109 110 111 112 113 114 115 | * The buffer MUST be at least size * nitems big! * \return The number of bytes read */ - (size_t)readNItems: (size_t)nitems ofSize: (size_t)size intoBuffer: (uint8_t*)buf; | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | * The buffer MUST be at least size * nitems big! * \return The number of bytes read */ - (size_t)readNItems: (size_t)nitems ofSize: (size_t)size intoBuffer: (uint8_t*)buf; /** * Reads from the file into a new buffer. * * \param size The size of the data that should be read * \param nitem The number of items to read * \return A new buffer with the data read. * It is part of the memory pool of the OFFile. */ - (uint8_t*)readNItems: (size_t)nitems ofSize: (size_t)size; /** * Writes from a buffer into the file. * * \param buf The buffer from which the data is written to the file * \param size The size of the data that should be written * \param nitem The number of items to write * \return The number of bytes written */ - (size_t)writeNItems: (size_t)nitems ofSize: (size_t)size fromBuffer: (const uint8_t*)buf; @end |
Modified src/OFTCPSocket.h from [8a8e95826f] to [bf4dc8ccc5].
︙ | ︙ | |||
32 33 34 35 36 37 38 | * Connect the OFTCPSocket to the specified destination. * * \param host The host to connect to * \param port The port of the host to connect to */ - connectTo: (const char*)host onPort: (uint16_t)port; | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 32 33 34 35 36 37 38 39 | * Connect the OFTCPSocket to the specified destination. * * \param host The host to connect to * \param port The port of the host to connect to */ - connectTo: (const char*)host onPort: (uint16_t)port; @end |