Browse Source

...

generate_api
Volker Birk 3 years ago
parent
commit
7f514cca4f
2 changed files with 6 additions and 14 deletions
  1. +2
    -2
      api/gen_c_header.ysl2
  2. +4
    -12
      api/pEp.yml2

+ 2
- 2
api/gen_c_header.ysl2 View File

@ -57,7 +57,7 @@ tstylesheet {
template "enum" {
||
typedef enum _«func:name(false)» {
typedef enum _«func:name()» {
||
apply "item|doc";
||
@ -74,7 +74,7 @@ tstylesheet {
||
template "item" {
0> «func:name(1)»`if "text()" { " = " value "." }``if "position()!=last()" > ,`
0> «func:name()»`if "text()" { " = " value "." }``if "position()!=last()" > ,`
choose {
when "@doc" > /* «@doc» */\n
otherwise > \n


+ 4
- 12
api/pEp.yml2 View File

@ -18,17 +18,9 @@ decl flag @name;
package pEp {
api transport {
include ./transport_api.yml2
}
api message {
include ./message_api.yml2
}
api keymanagement {
include ./keymanagement_api.yml2
}
api basic {
include ./basic_api.yml2
}
api transport include ./transport_api.yml2
api message include ./message_api.yml2
api keymanagement include ./keymanagement_api.yml2
api basic include ./basic_api.yml2
}

Loading…
Cancel
Save