00001 #ifndef PROTON_HANDLERS_H 00002 #define PROTON_HANDLERS_H 1 00003 00004 /* 00005 * 00006 * Licensed to the Apache Software Foundation (ASF) under one 00007 * or more contributor license agreements. See the NOTICE file 00008 * distributed with this work for additional information 00009 * regarding copyright ownership. The ASF licenses this file 00010 * to you under the Apache License, Version 2.0 (the 00011 * "License"); you may not use this file except in compliance 00012 * with the License. You may obtain a copy of the License at 00013 * 00014 * http://www.apache.org/licenses/LICENSE-2.0 00015 * 00016 * Unless required by applicable law or agreed to in writing, 00017 * software distributed under the License is distributed on an 00018 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 00019 * KIND, either express or implied. See the License for the 00020 * specific language governing permissions and limitations 00021 * under the License. 00022 * 00023 */ 00024 00025 #include <proton/import_export.h> 00026 #include <proton/type_compat.h> 00027 #include <proton/reactor.h> 00028 00029 #ifdef __cplusplus 00030 extern "C" { 00031 #endif 00032 00033 /** 00034 * @file 00035 * 00036 * Reactor API for proton. 00037 * 00038 * @defgroup handlers Handlers 00039 * @ingroup handlers 00040 * @{ 00041 */ 00042 00043 typedef pn_handler_t pn_handshaker_t; 00044 typedef pn_handler_t pn_iohandler_t; 00045 typedef pn_handler_t pn_flowcontroller_t; 00046 00047 PN_EXTERN pn_handshaker_t *pn_handshaker(void); 00048 PN_EXTERN pn_iohandler_t *pn_iohandler(void); 00049 PN_EXTERN pn_flowcontroller_t *pn_flowcontroller(int window); 00050 00051 /** @} 00052 */ 00053 00054 #ifdef __cplusplus 00055 } 00056 #endif 00057 00058 #endif /* handlers.h */