Hamlib  4.3
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
Functions
rot_conf.c File Reference

Rotator Configuration Interface. More...

#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <hamlib/rotator.h>
#include "rot_conf.h"
#include "token.h"
Include dependency graph for rot_conf.c:

Functions

int frontrot_set_conf (ROT *rot, token_t token, const char *val)
 Set a rotator state value from alpha input. More...
 
int frontrot_get_conf (ROT *rot, token_t token, char *val)
 Query data from a rotator state in alpha form. More...
 
int rot_token_foreach (ROT *rot, int(*cfunc)(const struct confparams *, rig_ptr_t), rig_ptr_t data)
 Executes cfunc on all the elements stored in the configuration parameters table. More...
 
const struct confparamsrot_confparam_lookup (ROT *rot, const char *name)
 Query a rotator configuration parameter token by its name. More...
 
token_t rot_token_lookup (ROT *rot, const char *name)
 Search for the token ID associated with a rotator configuration parameter token name. More...
 
int rot_set_conf (ROT *rot, token_t token, const char *val)
 Set a rotator configuration parameter. More...
 
int rot_get_conf (ROT *rot, token_t token, char *val)
 Query the value of a rotator configuration parameter. More...
 

Detailed Description

Rotator Configuration Interface.