-/****f* silccore/SilcPacketAPI/silc_packet_read
- *
- * SYNOPSIS
- *
- * int silc_packet_read(int fd, SilcSocketConnection sock);
- *
- * DESCRIPTION
- *
- * Reads data from the socket connection into the incoming data buffer.
- * However, this does not parse the packet, it only reads some amount from
- * the network. If there are more data available that can be read at a time
- * the rest of the data will be read later with a timeout and only after
- * that the packet is ready to be parsed.
- *
- * The destination buffer sent as argument must be initialized before
- * calling this function, and, the data section and the start of the tail
- * section must be same. Ie. we add the read data to the tail section of
- * the buffer hence the data section is the start of the buffer.
- *
- * This returns amount of bytes read or -1 on error or -2 on case where
- * all of the data could not be read at once.
- *
- ***/
-int silc_packet_read(int fd, SilcSocketConnection sock);
-