aboutsummaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2020-10-20 07:28:50 +1030
committerDavid Timber <mieabby@gmail.com>2020-10-20 07:28:50 +1030
commit4c882d7216bb12d5821a108b9f11544a075c7024 (patch)
tree84fba1d9decbab537a2ddb1931ef89f219438274 /.vscode
parent5dbfcb1f66b681fbb6cdec8836efe2c2d84f957e (diff)
Impl hostinfod and extras ...
* Use EOVERFLOW instead of E2BIG * Add prne_iobuf_zero() * Fix format check logic error in prne_htbt_ser_msg_head() * Add prne_dup_str() * Add prne_timespec_ms()
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/launch.json15
-rw-r--r--.vscode/tasks.json5
2 files changed, 20 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 9b27a06..e1aa280 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -143,6 +143,21 @@
"preLaunchTask": "Build bne",
"miDebuggerPath": "/usr/bin/gdb"
},
+ {
+ "name": "hostinfod",
+ "type": "cppdbg",
+ "request": "launch",
+ "program": "${workspaceFolder}/src/proone-hostinfod",
+ "args": [ "./src/data/hostinfod.conf" ],
+ "stopAtEntry": false,
+ "cwd": "${workspaceFolder}",
+ "environment": [],
+ "externalConsole": false,
+ "MIMode": "gdb",
+ "setupCommands": [],
+ "preLaunchTask": "Build hostinfod",
+ "miDebuggerPath": "/usr/bin/gdb"
+ },
{
"name": "proone",
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index bb7fc05..bd3d1c8 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -61,6 +61,11 @@
"command": "make -C ./src proone-mkcdict proone-bne && ./src/proone-mkcdict ./src/data/cred_dict.txt ./src/data/cred_dict.bin"
},
{
+ "label": "Build hostinfod",
+ "type": "shell",
+ "command": "make -C ./src proone-hostinfod"
+ }
+ {
"label": "Build proone",
"type": "shell",
"command": "make -C ./src proone"