| 1 | /* |
| 2 | * Asterisk -- An open source telephony toolkit. |
| 3 | * |
| 4 | * Copyright (C) 2021, Sangoma Technologies Corporation |
| 5 | * |
| 6 | * Kevin Harwell <[email protected]> |
| 7 | * |
| 8 | * See http://www.asterisk.org for more information about |
| 9 | * the Asterisk project. Please do not directly contact |
| 10 | * any of the maintainers of this project for assistance; |
| 11 | * the project provides a web site, mailing lists and IRC |
| 12 | * channels for your use. |
| 13 | * |
| 14 | * This program is free software, distributed under the terms of |
| 15 | * the GNU General Public License Version 2. See the LICENSE file |
| 16 | * at the top of the source tree. |
| 17 | */ |
| 18 | |
| 19 | #ifndef RES_AEAP_TRANSPORT_WEBSOCKET_H |
| 20 | #define RES_AEAP_TRANSPORT_WEBSOCKET_H |
| 21 | |
| 22 | /*! |
| 23 | * \brief Asterisk external application protocol websocket transport |
| 24 | */ |
| 25 | struct aeap_transport_websocket; |
| 26 | |
| 27 | /*! |
| 28 | * \brief Creates (heap allocated), and initializes a transport websocket |
| 29 | * |
| 30 | * \returns A transport websocket object, or NULL on error |
| 31 | */ |
| 32 | struct aeap_transport_websocket *aeap_transport_websocket_create(void); |
| 33 | |
| 34 | #endif /* RES_AEAP_TRANSPORT_WEBSOCKET_H */ |