MrLoick / staff

Automatically exported from code.google.com/p/staff
Apache License 2.0
0 stars 0 forks source link

Avahi publish service #220

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add service operations like the example on 
http://avahi.org/download/doxygen/client-publish-service_8c-example.html
2. Compile and install
3.

What is the expected output? What do you see instead?
WARNING 23-09-2013 14:33:19.867 src/CppParser.cpp[809] ParseDataType: Can't 
find type declaration: AvahiEntryGroup
WARNING 23-09-2013 14:33:19.867 src/CppParser.cpp[809] ParseDataType: Can't 
find type declaration: AvahiEntryGroupState
WARNING 23-09-2013 14:33:19.868 src/CppParser.cpp[809] ParseDataType: Can't 
find type declaration: AVAHI_GCC_UNUSED void
WARNING 23-09-2013 14:33:19.868 src/CppParser.cpp[809] ParseDataType: Can't 
find type declaration: AvahiClient
WARNING 23-09-2013 14:33:19.868 src/CppParser.cpp[809] ParseDataType: Can't 
find type declaration: AvahiClient
WARNING 23-09-2013 14:33:19.868 src/CppParser.cpp[809] ParseDataType: Can't 
find type declaration: AvahiClientState
WARNING 23-09-2013 14:33:19.868 src/CppParser.cpp[809] ParseDataType: Can't 
find type declaration: AVAHI_GCC_UNUSED void
WARNING 23-09-2013 14:33:19.870 src/XmlGen.cpp[193] operator<<: Unknown 
datatype: AvahiEntryGroup
WARNING 23-09-2013 14:33:19.870 src/XmlGen.cpp[193] operator<<: Unknown 
datatype: AvahiEntryGroupState
WARNING 23-09-2013 14:33:19.870 src/XmlGen.cpp[193] operator<<: Unknown 
datatype: AVAHI_GCC_UNUSED void
WARNING 23-09-2013 14:33:19.871 src/XmlGen.cpp[193] operator<<: Unknown 
datatype: AvahiClient
WARNING 23-09-2013 14:33:19.871 src/XmlGen.cpp[193] operator<<: Unknown 
datatype: AvahiClient
WARNING 23-09-2013 14:33:19.871 src/XmlGen.cpp[193] operator<<: Unknown 
datatype: AvahiClientState
WARNING 23-09-2013 14:33:19.871 src/XmlGen.cpp[193] operator<<: Unknown 
datatype: AVAHI_GCC_UNUSED void

What version of the product are you using? On what operating system?
I am using version 1.99.1 on Ubuntu 12.0.4

Please provide any additional information below.
The staff_codegen can't find the Avahi type declarations. Is it possible to use 
these?

Original issue reported on code.google.com by joostver...@gmail.com on 23 Sep 2013 at 12:39

GoogleCodeExporter commented 8 years ago
WSF Staff can't use any external data types except of declared using double 
quotes

#include "sometypes.h"

Location of "sometypes.h" must be relative to service header(interface).

WSF Staff can use only C++ typedef and struct declarations.

Original comment by loentar on 23 Sep 2013 at 7:37