Hamlib  3.0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros 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 rotator state info from alpha input. More...
 
int frontrot_get_conf (ROT *rot, token_t token, char *val)
 Get data from rotator state in alpha form. More...
 
int rot_token_foreach (ROT *rot, int(*cfunc)(const struct confparams *, char *), char *data)
 Executes cfunc on all the elements stored in the conf table. More...
 
const struct confparamsrot_confparam_lookup (ROT *rot, const char *name)
 lookup conf token by its name, return pointer to confparams struct. More...
 
token_t rot_token_lookup (ROT *rot, const char *name)
 Simple lookup returning token id associated with 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)
 get the value of a configuration parameter More...
 

Detailed Description

Rotator Configuration Interface.


Generated by doxygen 1.8.8

Hamlib documentation for version 3.0.1 -- Wed Jan 13 2016 15:05:23
Project page: http://www.hamlib.org