/*! \file */ #ifndef PACKET_H #define PACKET_H #include #include #include #include #include "libgdbr.h" #include #if __WINDOWS__ #include #if !__CYGWIN__ #include #endif #endif /*! * \brief sends a packet sends a packet to the established connection * \param instance the "instance" of the current libgdbr session * \returns a failure code (currently -1) or 0 if call successfully */ int send_packet(libgdbr_t* instance); /*! * \brief Function reads data from the established connection * \param instance the "instance" of the current libgdbr session * \returns a failure code (currently -1) or 0 if call successfully */ int read_packet(libgdbr_t* instance); #endif