Commit Graph
21 Commits
Author SHA1 Message Date
Julius Pfrommer fd08d012d9 Server: Initialize the config in the server 2019-04-23 00:41:32 +02:00
Stefan Profanter 63f3653ff1 Additional header cleanup and consistent name of ns generated files 2019-03-21 20:16:31 +01:00
Julius Pfrommer c9c818868f Move header files to a more unix-like structure
This commit drops the 'ua_' prefix and changes the public includes
to the form `#include <open62541/server.h>` instead of the old
`#include <ua_server.h>`
2019-03-21 20:16:31 +01:00
Frank Meerkoetter 1648fb8aaa Use EXIT_SUCCESS/FAILURE for the examples
Make use of EXIT_SUCCESS and EXIT_FAILURE from stdlib.h.
The previous approach of returning a value from UA_StatusCode
was often broken as an exit code can (portably) only be between 0 and 125.
2019-02-09 09:34:46 +01:00
Stefan Profanter d715db1057 Stack: Use non-amalgamated headers in all the examples
For consistency we recommend using non-amalgamation install, thus the
examples should also use the non-amalgamated headers.
2018-12-17 22:40:07 +01:00
Jose Cabral 1605455a74 Fixes #1925 and clean examples 2018-07-25 08:17:51 +02:00
Infinity95 a8012d3040 endpoints in the server config; new/delete functions for the server config 2017-08-15 09:52:34 +02:00
Julius Pfrommer 1969bad066 remove public ua_job.h; call message processing from the network layer 2017-06-29 12:12:05 +02:00
Julius Pfrommer 430b510c12 Merge branch '0.2' 2017-03-06 18:47:36 +01:00
Julius Pfrommer 68402c5ff6 use compilable examples for the tutorials 2017-03-05 15:23:45 +01:00
Julius Pfrommer ce6f56c348 use amalgamated header for the examples 2017-02-09 23:07:10 +01:00
Julius Pfrommer 7aa39e4a31 fix remaining issues with g++; all examples compile as C++ 2017-01-13 12:08:28 +01:00
Julius Pfrommer 54daafd37a rename plugins to begin with ua_ 2016-06-27 07:16:33 +02:00
Julius Pfrommer 5e87c1db68 move logger and connection-function into the client config (#585)
* move logger and connection-function into the client config;
move the standard config definition into a plugin

* remove redundant definition from example servers
2016-04-19 21:38:54 +02:00
Julius Pfrommer fd58bd8f87 fix some unchecked sign conversions in the example code 2016-03-02 12:07:04 +01:00
Julius Pfrommer 34dafb78ce Use the less noisy C99 true/false throughout. But keep the UA_TRUE/UA_FALSE macros for compatibility 2016-02-29 18:28:23 +01:00
Julius Pfrommer 2ae7fef1e4 add Wshadow and Wconversion compiler flags; fix all warnings; networklayer takes the logger from the server at startup 2016-01-27 00:19:42 +01:00
Julius Pfrommer 53d67b4140 single server config struct 2016-01-06 14:17:50 +01:00
Julius Pfrommer 47749e1045 add many log messages for log-level DEBUG. simplify stdout logger 2015-10-15 17:51:49 +02:00
Julius Pfrommer db1c4979c2 clean up the canonical examples 2015-07-09 11:45:06 +02:00
Julius Pfrommer 3649101943 move to canonical examples that show only a single feature 2015-07-09 11:27:42 +02:00