1
2
3
8
9
10
11
12
13
14
15
17
18
20
21
22
23
24
25
26
27
28
29
30
/* ... */
#ifndef OPENOCD_TARGET_SMP_H
#define OPENOCD_TARGET_SMP_H
#include <helper/list.h>
#include "server/server.h"
#define foreach_smp_target(pos, head) \
list_for_each_entry(pos, head, lh)...
#define foreach_smp_target_direction(forward, pos, head) \
list_for_each_entry_direction(forward, pos, head, lh)...
extern const struct command_registration smp_command_handlers[];
int gdb_read_smp_packet(struct connection *connection,
char const *packet, int packet_size);
int gdb_write_smp_packet(struct connection *connection,
char const *packet, int packet_size);
/* ... */
#endif