Dispatcher of functions. More...
Go to the source code of this file.
Typedefs | |
typedef int(* | function_dispatcher_t) (struct MuttWindow *win, int op) |
Enumerations | |
enum | FunctionRetval { FR_UNKNOWN = -7 , FR_CONTINUE = -6 , FR_DONE = -5 , FR_NOT_IMPL = -4 , FR_NO_ACTION = -3 , FR_ERROR = -2 , FR_SUCCESS = -1 } |
Possible return values for NeoMutt functions. More... | |
Functions | |
const char * | dispatcher_get_retval_name (int rv) |
Get the name of a return value. | |
Dispatcher of functions.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file dispatcher.h.
typedef int(* function_dispatcher_t) (struct MuttWindow *win, int op) |
Definition at line 52 of file dispatcher.h.
enum FunctionRetval |
Possible return values for NeoMutt functions.
Definition at line 31 of file dispatcher.h.
const char * dispatcher_get_retval_name | ( | int | rv | ) |
Get the name of a return value.
rv | Return value, e.g. FR_ERROR |
str | Name of the retval |
"" | Error |
Definition at line 54 of file dispatcher.c.