Logo Search packages:      
Sourcecode: hamlib version File versions  Download package

Functions | Variables

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:

Go to the source code of this file.


int frontrot_get_conf (ROT *rot, token_t token, char *val)
 Get data from rotator state in alpha form.
int frontrot_set_conf (ROT *rot, token_t token, const char *val)
 Set rotator state info from alpha input.
struct confparams *HAMLIB_API rot_confparam_lookup (ROT *rot, const char *name)
 lookup conf token by its name, return pointer to confparams struct.
int HAMLIB_API rot_get_conf (ROT *rot, token_t token, char *val)
 get the value of a configuration parameter
int HAMLIB_API rot_set_conf (ROT *rot, token_t token, const char *val)
 set a rotator configuration parameter
int HAMLIB_API 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 conf table.
token_t HAMLIB_API rot_token_lookup (ROT *rot, const char *name)
 Simple lookup returning token id associated with name.


static struct confparams rotfrontend_cfg_params []
static struct confparams rotfrontend_serial_cfg_params []

Detailed Description

Rotator Configuration Interface.

Definition in file rot_conf.c.

Generated by  Doxygen 1.6.0   Back to index