opcua 0.12 → 0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +71 -4
  3. data/cert/cert.h +52 -52
  4. data/cert/cert_key.h +101 -101
  5. data/example/array/Makefile +3 -0
  6. data/example/array/clienttest.c +168 -0
  7. data/example/array/open62541.h +27464 -0
  8. data/example/array/servertest.c +142 -0
  9. data/example/bug5.rb +22 -0
  10. data/example/client_method.rb +7 -3
  11. data/example/server.rb +3 -3
  12. data/ext/opcua/client/client.c +38 -13
  13. data/ext/opcua/client/client.h +2 -1
  14. data/ext/opcua/client/finders.c +1 -0
  15. data/ext/opcua/client/finders.h +1 -0
  16. data/ext/opcua/client/log_none.c +1 -0
  17. data/ext/opcua/client/log_none.h +1 -0
  18. data/ext/opcua/client/strnautocat.c +1 -0
  19. data/ext/opcua/client/strnautocat.h +1 -0
  20. data/ext/opcua/client/values.c +1 -0
  21. data/ext/opcua/client/values.h +1 -0
  22. data/ext/opcua/helpers/finders.c +142 -0
  23. data/ext/opcua/helpers/finders.h +13 -0
  24. data/ext/opcua/{log_none.h → helpers/log_none.c} +2 -0
  25. data/ext/opcua/helpers/log_none.h +12 -0
  26. data/ext/opcua/{strnautocat.h → helpers/strnautocat.c} +2 -0
  27. data/ext/opcua/helpers/strnautocat.h +8 -0
  28. data/ext/opcua/{values.h → helpers/values.c} +64 -25
  29. data/ext/opcua/helpers/values.h +12 -0
  30. data/ext/opcua/server/finders.c +1 -0
  31. data/ext/opcua/server/finders.h +1 -0
  32. data/ext/opcua/server/log_none.c +1 -0
  33. data/ext/opcua/server/log_none.h +1 -0
  34. data/ext/opcua/server/server.c +70 -57
  35. data/ext/opcua/server/server.h +4 -2
  36. data/ext/opcua/server/strnautocat.c +1 -0
  37. data/ext/opcua/server/strnautocat.h +1 -0
  38. data/ext/opcua/server/values.c +1 -0
  39. data/ext/opcua/server/values.h +1 -0
  40. data/opcua.gemspec +1 -1
  41. metadata +32 -6
@@ -3,8 +3,9 @@
3
3
  #include <stdio.h>
4
4
  #include <open62541.h>
5
5
  #include <malloc.h>
6
- #include "../log_none.h"
7
- #include "../strnautocat.h"
6
+ #include "log_none.h"
7
+ #include "strnautocat.h"
8
+ #include "finders.h"
8
9
 
9
10
  typedef struct server_struct {
10
11
  UA_ServerConfig *config;
@@ -18,4 +19,5 @@ typedef struct node_struct {
18
19
  server_struct *master;
19
20
  UA_NodeId id;
20
21
  VALUE method;
22
+ bool exists;
21
23
  } node_struct;
@@ -0,0 +1 @@
1
+ ../helpers/strnautocat.c
@@ -0,0 +1 @@
1
+ ../helpers/strnautocat.h
@@ -0,0 +1 @@
1
+ ../helpers/values.c
@@ -0,0 +1 @@
1
+ ../helpers/values.h
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "opcua"
3
- s.version = "0.12"
3
+ s.version = "0.13"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "Preliminary release of opcua (open62541) ruby bindings. C performance, Ruby elegance, simplicity, and productivity."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opcua
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.12'
4
+ version: '0.13'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: tools
11
11
  cert_chain: []
12
- date: 2019-06-30 00:00:00.000000000 Z
12
+ date: 2019-07-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: daemonite
@@ -63,8 +63,8 @@ description: see https://github.com/etm/opcua-smart
63
63
  email: juergen.mangler@gmail.com
64
64
  executables: []
65
65
  extensions:
66
- - ext/opcua/server/extconf.rb
67
66
  - ext/opcua/client/extconf.rb
67
+ - ext/opcua/server/extconf.rb
68
68
  extra_rdoc_files:
69
69
  - README.md
70
70
  files:
@@ -73,6 +73,11 @@ files:
73
73
  - Rakefile
74
74
  - cert/cert.h
75
75
  - cert/cert_key.h
76
+ - example/array/Makefile
77
+ - example/array/clienttest.c
78
+ - example/array/open62541.h
79
+ - example/array/servertest.c
80
+ - example/bug5.rb
76
81
  - example/client_get_sync.rb
77
82
  - example/client_get_value.rb
78
83
  - example/client_method.rb
@@ -85,12 +90,33 @@ files:
85
90
  - ext/opcua/client/client.c
86
91
  - ext/opcua/client/client.h
87
92
  - ext/opcua/client/extconf.rb
88
- - ext/opcua/log_none.h
93
+ - ext/opcua/client/finders.c
94
+ - ext/opcua/client/finders.h
95
+ - ext/opcua/client/log_none.c
96
+ - ext/opcua/client/log_none.h
97
+ - ext/opcua/client/strnautocat.c
98
+ - ext/opcua/client/strnautocat.h
99
+ - ext/opcua/client/values.c
100
+ - ext/opcua/client/values.h
101
+ - ext/opcua/helpers/finders.c
102
+ - ext/opcua/helpers/finders.h
103
+ - ext/opcua/helpers/log_none.c
104
+ - ext/opcua/helpers/log_none.h
105
+ - ext/opcua/helpers/strnautocat.c
106
+ - ext/opcua/helpers/strnautocat.h
107
+ - ext/opcua/helpers/values.c
108
+ - ext/opcua/helpers/values.h
89
109
  - ext/opcua/server/extconf.rb
110
+ - ext/opcua/server/finders.c
111
+ - ext/opcua/server/finders.h
112
+ - ext/opcua/server/log_none.c
113
+ - ext/opcua/server/log_none.h
90
114
  - ext/opcua/server/server.c
91
115
  - ext/opcua/server/server.h
92
- - ext/opcua/strnautocat.h
93
- - ext/opcua/values.h
116
+ - ext/opcua/server/strnautocat.c
117
+ - ext/opcua/server/strnautocat.h
118
+ - ext/opcua/server/values.c
119
+ - ext/opcua/server/values.h
94
120
  - lib/opcua/client.rb
95
121
  - lib/opcua/server.rb
96
122
  - opcua.gemspec