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"

Functions

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

Detailed Description

Rotator Configuration Interface.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Hamlib documentation for version 1.2.8 -- Thu Mar 11 18:59:59 2010
Project page: http://hamlib.org