X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fmoof%2Fpacket.hh;h=c23891541da08096b19d15550a4722a9fc86c356;hp=03c519fc0cb41571283bb4d1af623326be8a05ec;hb=44b3014bce798789e795242d1556cb7449e6386a;hpb=831f04d4bc19a390415ac0bbac4331c7a65509bc diff --git a/src/moof/packet.hh b/src/moof/packet.hh index 03c519f..c238915 100644 --- a/src/moof/packet.hh +++ b/src/moof/packet.hh @@ -12,22 +12,22 @@ #ifndef _MOOF_PACKET_HH_ #define _MOOF_PACKET_HH_ -/** - * \file packet.hh - * Classes for building and interpreting datagram packets. - */ - #include #include +#include #include #include - #ifndef PAGE_SIZE #define PAGE_SIZE 4096 #endif +/** + * \file packet.hh + * Classes for building and interpreting datagram packets. + */ + namespace moof { @@ -84,7 +84,7 @@ public: * Write some bytes to the packet. * \param bytes The bytes. * \param size The number of bytes. - * return The number of bytes actually written. + * \return The number of bytes actually written. */ size_t write(const void* bytes, size_t size); @@ -140,7 +140,7 @@ public: /** * Get a pointer to an internal structure holding the serialized bytes * of the packet. - * return The pointer. + * \return The pointer. */ const char* bytes() const {