|
int | get_nonce (uint32_t *nonce) |
| Get a single-use 32-bit number. More...
|
|
int | get_password_response (uint32_t nonce, const char *password, uint8_t response[PROXY_PASS_RES_LEN]) |
| Gets the expected response for a given nonce and password. More...
|
|
int | proxy_authorize_callsign (struct proxy_handle *ph, const char *callsign) |
| Authorizes the given callsign against the proxy's configuration. More...
|
|
void | proxy_close (struct proxy_handle *ph) |
| Closes the proxy so no more clients can connect. More...
|
|
void | proxy_drop (struct proxy_handle *ph) |
| Drops all currently connected clients from the proxy. More...
|
|
void | proxy_free (struct proxy_handle *ph) |
| Frees data allocated by proxy_init. More...
|
|
void | proxy_ident (struct proxy_handle *ph) |
| Instructs the proxy to identify itself to the current log medium. More...
|
|
int | proxy_init (struct proxy_handle *ph) |
| Initializes the private data in a proxy_handle. More...
|
|
int | proxy_load_conf (struct proxy_handle *ph, const char *path) |
| Loads the configuration from the file at the given path. More...
|
|
void | proxy_log (struct proxy_handle *ph, enum LOG_LEVEL lvl, const char *fmt,...) |
| Logs the given message to the current medium if lvl is high enough. More...
|
|
void | proxy_log_level (struct proxy_handle *ph, enum LOG_LEVEL lvl) |
| Changes the log message importance threshold. More...
|
|
int | proxy_log_select_medium (struct proxy_handle *ph, enum LOG_MEDIUM medium, const char *target) |
| Changes the target logging medium. More...
|
|
int | proxy_open (struct proxy_handle *ph) |
| Opens the proxy for client connections. More...
|
|
int | proxy_process (struct proxy_handle *ph) |
| Blocking call to process new clients. More...
|
|
void | proxy_shutdown (struct proxy_handle *ph) |
| Gracefully shut down all proxy operations asynchronously. More...
|
|
int | proxy_start (struct proxy_handle *ph) |
| Starts the client processing thread(s) More...
|
|
void | proxy_update_registration (struct proxy_handle *ph) |
| Updates the registration status of the proxy instance. More...
|
|
Public API for OpenELP, An Open Source EchoLink® Proxy.
- Copyright
- Copyright © 2016, Scott K Logan
-
All rights reserved.
-
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
EchoLink® is a registered trademark of Synergenics, LLC
- Author
- Scott K Logan <logan.nosp@m.s@co.nosp@m.ttsay.nosp@m..net>
DESCRIPTION
These definitions, data structures and functions manipulate and operate the proxy.