remote.h (249141) | remote.h (255579) |
---|---|
1/* 2 * daemon/remote.h - remote control for the unbound daemon. 3 * 4 * Copyright (c) 2008, NLnet Labs. All rights reserved. 5 * 6 * This software is open source. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 143 unchanged lines hidden (view full) --- 152void daemon_remote_start_accept(struct daemon_remote* rc); 153 154/** 155 * Handle nonthreaded remote cmd execution. 156 * @param worker: this worker (the remote worker). 157 */ 158void daemon_remote_exec(struct worker* worker); 159 | 1/* 2 * daemon/remote.h - remote control for the unbound daemon. 3 * 4 * Copyright (c) 2008, NLnet Labs. All rights reserved. 5 * 6 * This software is open source. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 143 unchanged lines hidden (view full) --- 152void daemon_remote_start_accept(struct daemon_remote* rc); 153 154/** 155 * Handle nonthreaded remote cmd execution. 156 * @param worker: this worker (the remote worker). 157 */ 158void daemon_remote_exec(struct worker* worker); 159 |
160/** handle remote control accept callbacks */ 161int remote_accept_callback(struct comm_point*, void*, int, struct comm_reply*); 162 163/** handle remote control data callbacks */ 164int remote_control_callback(struct comm_point*, void*, int, struct comm_reply*); 165 | |
166#ifdef HAVE_SSL 167/** 168 * Print fixed line of text over ssl connection in blocking mode 169 * @param ssl: print to 170 * @param text: the text. 171 * @return false on connection failure. 172 */ 173int ssl_print_text(SSL* ssl, const char* text); --- 13 unchanged lines hidden (view full) --- 187 * @param ssl: the SSL connection to read from. blocking. 188 * @param buf: buffer to read to. 189 * @param max: size of buffer. 190 * @return false on connection failure. 191 */ 192int ssl_read_line(SSL* ssl, char* buf, size_t max); 193#endif /* HAVE_SSL */ 194 | 160#ifdef HAVE_SSL 161/** 162 * Print fixed line of text over ssl connection in blocking mode 163 * @param ssl: print to 164 * @param text: the text. 165 * @return false on connection failure. 166 */ 167int ssl_print_text(SSL* ssl, const char* text); --- 13 unchanged lines hidden (view full) --- 181 * @param ssl: the SSL connection to read from. blocking. 182 * @param buf: buffer to read to. 183 * @param max: size of buffer. 184 * @return false on connection failure. 185 */ 186int ssl_read_line(SSL* ssl, char* buf, size_t max); 187#endif /* HAVE_SSL */ 188 |
195/** routine to printout option values over SSL */ 196void remote_get_opt_ssl(char* line, void* arg); 197 | |
198#endif /* DAEMON_REMOTE_H */ | 189#endif /* DAEMON_REMOTE_H */ |