Hamlib  4.1
Functions
rot_ext.c File Reference

Extension request parameter interface for rotators. More...

#include <stdio.h>
#include <string.h>
#include <hamlib/rig.h>
#include <hamlib/rotator.h>
#include "token.h"
Include dependency graph for rot_ext.c:

Functions

int rot_ext_func_foreach (ROT *rot, int(*cfunc)(ROT *, const struct confparams *, rig_ptr_t), rig_ptr_t data)
 Executes cfunc on all the elements stored in the extfuncs table. More...
 
int rot_ext_level_foreach (ROT *rot, int(*cfunc)(ROT *, const struct confparams *, rig_ptr_t), rig_ptr_t data)
 Executes cfunc on all the elements stored in the extlevels table. More...
 
int rot_ext_parm_foreach (ROT *rot, int(*cfunc)(ROT *, const struct confparams *, rig_ptr_t), rig_ptr_t data)
 Executes cfunc on all the elements stored in the extparms table. More...
 
const struct confparamsrot_ext_lookup (ROT *rot, const char *name)
 lookup ext token by its name, return pointer to confparams struct. More...
 
const struct confparamsrot_ext_lookup_tok (ROT *rot, token_t token)
 lookup ext token, return pointer to confparams struct. More...
 
token_t rot_ext_token_lookup (ROT *rot, const char *name)
 Simple lookup returning token id associated with name. More...
 

Detailed Description

Extension request parameter interface for rotators.

An open-ended set of extension parameters, functions and levels are available for each rotator, as provided in the rotcaps extparms, extfuncs and extlevels lists. These provide a way to work with rotator-specific functions that don't fit into the basic "virtual rotator" of Hamlib.


Generated by doxygen 1.9.1

Hamlib documentation for version 4.1 -- Mon Feb 1 2021 08:00:28
Project page: http://www.hamlib.org