rizin/subprojects/rzgdb/include/gdbr_common.h
Riccardo Schirone 6f40dfe493
Move remaining things from shlr/ to meson subprojects (#2126)
* Move binrz meson directives to binrz/ dir

* Move rizin-shell-parser to a subproject

* Move bochs to a meson subproject

* Move rzqnx to meson subproject

* Move winkd to a meson subproject

* Move rzar to a meson subproject

* Move rzw32dbg_wrap to a meson subproject

* Move ptrace-wrap to a meson subproject

* Move rzgdb to a meson subproject

* Rename w32dbg_wrap to rzw32dbg_wrap

* Update CODEOWNERS

* Remove old references to shlr

* Move shlr/heap stuff in core and remove shlr/arm

* Move spp to a meson subproject

* Remove last references to shlr

* Remove use_webui option

* Move include files directives to librz/include/meson.build

* Move librz meson directives into librz/meson.build

* Handle d/ directories inside the specific module meson.build

* Move plugins listing to specific module meson.build

* Move rzheap to its own subproject

* Fix js linter and licenses

* Use meson.override_dependency for all rz_ modules
2021-12-22 09:20:39 +08:00

26 lines
704 B
C

// SPDX-FileCopyrightText: 2014 defragger <rlaemmert@gmail.com>
// SPDX-License-Identifier: LGPL-3.0-only
#ifndef GDBR_COMMON_H_
#define GDBR_COMMON_H_
#include "libgdbr.h"
int handle_qSupported(libgdbr_t *g);
/*!
* \brief Function sends a message to the remote gdb instance
* \param g the "instance" of the current libgdbr session
* \param msg the message that will be sent
* \returns a failure code (currently -1) or 0 if call successfully
*/
int send_msg(libgdbr_t *g, const char *msg);
/*!
* \brief Functions sends a single ack ('+')
* \param g the "instance" of the current libgdbr session
* \returns -1 if something went wrong
*/
int send_ack(libgdbr_t *g);
#endif // GDBR_COMMON_H_