Flattened examples directory

This commit is contained in:
Joseph Henry
2018-07-19 17:35:42 -07:00
parent 71fe3c867e
commit 60549bc8a3
74 changed files with 785 additions and 831 deletions

15
examples/cpp/dummy.cpp Normal file
View File

@@ -0,0 +1,15 @@
#include <stdio.h>
#include <unistd.h>
#include "libzt.h"
int main()
{
printf("Starting ZT service");
zts_startjoin("my_config_path",0x0000000000000000);
printf("Dummy. Going into infinite loop. Ping me or something\n");
while(1) {
sleep(1);
}
}