| /* |
| * |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| * |
| */ |
| |
| // This file automatically generated by: |
| // Apache Etch 1.1.0-incubating (LOCAL-0) / c 1.1.0-incubating (LOCAL-0) |
| // Fri Aug 28 15:58:20 CEST 2009 |
| // This file is automatically created and should not be edited! |
| /* |
| * helloworld_listener_main.h |
| * server exe main() private header |
| */ |
| |
| #ifndef HELLOWORLD_LISTENER_MAIN_H |
| #define HELLOWORLD_LISTENER_MAIN_H |
| |
| #include "etch_runtime.h" |
| #include "helloworld_helper.h" |
| #include "helloworld_server_impl.h" |
| #include "helloworld_remote_client.h" |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| /* |
| * helloworld_listener_start(pplistener, uri, waitupms) |
| * Start the listener at the given uri, waiting waitupms microseconds for listener startup. |
| * The created listener is saved at address pointed to by pplistener. |
| */ |
| extern etch_status_t helloworld_listener_start(i_sessionlistener** pplistener, wchar_t* uri, int waitupms); |
| |
| /* |
| * helloworld_listener_stop(plistener, waitupms) |
| * Stop the listener given by plistener, waiting waitupms microseconds to stop. |
| */ |
| extern etch_status_t helloworld_listener_stop(i_sessionlistener* plistener, int waitupms); |
| |
| #ifdef __cplusplus |
| } //extern "C" |
| #endif |
| |
| #endif /* HELLOWORLD_LISTENER_MAIN.H */ |