Changeset 96865 in vbox
- Timestamp:
- Sep 26, 2022 2:45:32 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/dbg.h
r96407 r96865 1169 1169 1170 1170 /** 1171 * Marks the beginning of a new packet being sent - optional. 1172 * 1173 * @returns VBox status code. 1174 * @param pIo Pointer to the I/O structure supplied by 1175 * the I/O provider. The backend can use this to find it's instance data. 1176 * @param cbPktHint Size of the packet in bytes, serves as a hint for the I/O provider to arrange buffers. 1177 * Give 0 if size is unknown upfront. 1178 */ 1179 DECLCALLBACKMEMBER(int, pfnPktBegin, (PCDBGCIO pIo, size_t cbPktHint)); 1180 1181 /** 1182 * Marks the end of the packet - optional. 1183 * 1184 * @returns VBox status code. 1185 * @param pIo Pointer to the I/O structure supplied by 1186 * the I/O provider. The backend can use this to find it's instance data. 1187 * 1188 * @note Some I/O providers might decide to send data only when this is called not in the 1189 * DBGCIO::pfnWrite callback. 1190 */ 1191 DECLCALLBACKMEMBER(int, pfnPktEnd, (PCDBGCIO pIo)); 1192 1193 /** 1171 1194 * Ready / busy notification. 1172 1195 * -
trunk/src/VBox/Debugger/DBGCIo.cpp
r96407 r96865 133 133 { 134 134 &g_DbgcIoProvTcp, 135 &g_DbgcIoProvUdp, 135 136 &g_DbgcIoProvIpc 136 137 }; -
trunk/src/VBox/Debugger/DBGCIoProvInternal.h
r96407 r96865 109 109 *******************************************************************************/ 110 110 extern const DBGCIOPROVREG g_DbgcIoProvTcp; 111 extern const DBGCIOPROVREG g_DbgcIoProvUdp; 111 112 extern const DBGCIOPROVREG g_DbgcIoProvIpc; 112 113 -
trunk/src/VBox/Debugger/DBGCIoProvIpc.cpp
r96407 r96865 200 200 pIpcCon->Io.pfnRead = dbgcIoProvIpcIoRead; 201 201 pIpcCon->Io.pfnWrite = dbgcIoProvIpcIoWrite; 202 pIpcCon->Io.pfnPktBegin = NULL; 203 pIpcCon->Io.pfnPktEnd = NULL; 202 204 pIpcCon->Io.pfnSetReady = dbgcIoProvIpcIoSetReady; 203 205 pIpcCon->hSession = hSession; -
trunk/src/VBox/Debugger/DBGCIoProvTcp.cpp
r96407 r96865 211 211 pTcpCon->Io.pfnRead = dbgcIoProvTcpIoRead; 212 212 pTcpCon->Io.pfnWrite = dbgcIoProvTcpIoWrite; 213 pTcpCon->Io.pfnPktBegin = NULL; 214 pTcpCon->Io.pfnPktEnd = NULL; 213 215 pTcpCon->Io.pfnSetReady = dbgcIoProvTcpIoSetReady; 214 216 pTcpCon->hSock = hSockCon; -
trunk/src/VBox/Debugger/Makefile.kmk
r96407 r96865 63 63 DBGCIo.cpp \ 64 64 DBGCIoProvTcp.cpp \ 65 DBGCIoProvUdp.cpp \ 65 66 DBGCIoProvIpc.cpp \ 66 67 DBGCScreenAscii.cpp -
trunk/src/VBox/Debugger/testcase/tstDBGCParser.cpp
r96407 r96865 60 60 tstDBGCBackRead, 61 61 tstDBGCBackWrite, 62 NULL, /**pfnPktBegin*/ 63 NULL, /**pfnPktEnd*/ 62 64 tstDBGCBackSetReady 63 65 };
Note:
See TracChangeset
for help on using the changeset viewer.