| 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_GENERAL_H |
| 20 | #define RES_AEAP_GENERAL_H |
| 21 | |
| 22 | /*! |
| 23 | * \brief Retrieve the scheduling context |
| 24 | * |
| 25 | * \returns The scheduling context |
| 26 | */ |
| 27 | struct ast_sched_context *aeap_sched_context(void); |
| 28 | |
| 29 | /*! |
| 30 | * \brief Initialize general/common AEAP facilities |
| 31 | * |
| 32 | * \returns 0 on success, -1 on error |
| 33 | */ |
| 34 | int aeap_general_initialize(void); |
| 35 | |
| 36 | /*! |
| 37 | * \brief Finalize/cleanup general AEAP facilities |
| 38 | */ |
| 39 | void aeap_general_finalize(void); |
| 40 | |
| 41 | #endif /* RES_AEAP_GENERAL_H */ |