Search found 3 matches
- 29 Mar 2019 19:34
- Forum: RaZberry
- Topic: Explain how to use low level C API
- Replies: 11
- Views: 14545
Re: Explain how to use low level C API
Don't know about NetBeans but in the GCC makefile I have generally: CFLAGS = -Wall -g -I/usr/local/include -I/usr/include/json-c/ -I/opt/zway/libzway LDFLAGS = " -Wl,-rpath,/opt/zway/libs/ " -lm -pthread -lmosquitto -ljson-c -L/opt/zway/libs -lzway -lzcommons -lxml2 -lz -lcrypto -larchive ...
- 17 Sep 2018 16:18
- Forum: RaZberry
- Topic: Can not make graceful exit (C-API) program
- Replies: 2
- Views: 2517
Re: Can not make graceful exit (C-API) program
Great,
Thanks for pointing the direction - got it now.
Thanks for pointing the direction - got it now.
- 14 Sep 2018 20:24
- Forum: RaZberry
- Topic: Can not make graceful exit (C-API) program
- Replies: 2
- Views: 2517
Can not make graceful exit (C-API) program
Hello I am using z-way libzway API quite successfully in my C application it seems to be quite robust as is. However the exit - I cannot make it cleanly. The app (service) is terminated by a signal SIGINT, SIGHUP or SIGTERM launcing ShutdownHandler The ShutdownHandler calls for zway_stop(zway) &...