Preparation for C--, removed classes, namespaces, advanced build options are now controlled via include/libztDefs.h
This commit is contained in:
15
test/dummy.cpp
Normal file
15
test/dummy.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "libzt.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
printf("Starting ZT service");
|
||||
zts_startjoin("ztp","17d709436c2c5367");
|
||||
|
||||
printf("Dummy. Going into infinite loop. Ping me or something\n");
|
||||
while(1) {
|
||||
sleep(1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user