Matthias Bolte
58b6a5c49e
remote generator, client: Handle functions with optional return values
2011-05-06 20:27:24 +02:00
Matthias Bolte
abd05a07ae
remote generator, client: Handle functions with multiple return values
2011-05-06 20:27:22 +02:00
Matthias Bolte
a1c891ec1e
remote generator, client: Handle functions with wrapped return values
2011-05-06 20:27:20 +02:00
Matthias Bolte
9de503f957
remote generator, client: Handle functions with simple return values
2011-05-06 20:27:18 +02:00
Matthias Bolte
f68bb4edb3
remote generator, client: Handle simple remote driver functions
...
Rename remoteSecretListSecrets to remoteListSecrets to match the normal
naming pattern.
2011-05-06 20:26:21 +02:00
Matthias Bolte
2c4105f112
remote generator: Reorder into prepare and print section
2011-05-06 20:09:50 +02:00
Matthias Bolte
6384104bcc
remote generator, daemon: Handle functions with multiple return values
...
Once again rename members in the XDR definitions to avoid special case
code in the generator.
2011-05-06 20:08:36 +02:00
Matthias Bolte
38982f18f2
remote generator, daemon: Combine multiple ifs in the generated code
2011-05-06 20:08:34 +02:00
Matthias Bolte
5641222eba
remote generator, daemon: Handle the CPU functions
...
They require additional special cases.
2011-05-06 20:08:31 +02:00
Matthias Bolte
900b18f47b
remote generator: Refactor duplicate code
2011-05-06 20:08:29 +02:00
Matthias Bolte
33148050e7
remote generator, daemon: Handle functions that return lists
2011-05-06 20:08:27 +02:00
Matthias Bolte
9a74649cd2
remote generator, daemon: Handle functions with optional arguments
2011-05-06 20:08:23 +02:00
Matthias Bolte
0411030665
remote generator, daemon: Handle more functions
...
This covers functions that return single wrapped objects and don't
involve complexer code in the body.
2011-05-06 20:08:21 +02:00
Matthias Bolte
0c3cea0bd6
remote generator, daemon: Handle simple-return-value functions
2011-05-06 20:07:39 +02:00
Matthias Bolte
0fb79ff4bb
remote generator, daemon: Change capitalization of some words
...
Again this will simplify the generator, due to less special case handling.
2011-05-06 20:05:01 +02:00
Matthias Bolte
37cb0882b5
remote: Replace 'domain' with 'dom' in the XDR protocol
...
This simplifies the remote protocol code generator.
Also rename 'ret' to 'result' to resolve a naming conflict in the
generator.
2011-05-06 20:05:00 +02:00
Matthias Bolte
aff1db9fab
remote generator, daemon: Output function bodies too
...
This patch just covers the simple functions without explicit return
values. There is more to be handled.
The generator collects the members of the XDR argument structs and uses
this information to generate the function bodies.
Exclude the generated files from offending syntax-checks.
Suggested by Richard W.M. Jones
2011-05-06 20:04:56 +02:00
Matthias Bolte
999f5b3ea6
remote generator: Replace tabs with spaces and rename file
...
No functional change included, just a whitespace change.
2011-05-06 20:04:55 +02:00