Hamlib  1.2.15.3
Data Structures | Macros | Functions
rot_reg.c File Reference

Dynamic registration of rotator backends. More...

#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
#include <ltdl.h>
#include <hamlib/rotator.h>
Include dependency graph for rot_reg.c:

Data Structures

struct  rot_list
 

Macros

#define PATH_MAX   1024
 
#define ROT_BACKEND_MAX   32
 
#define ROTLSTHASHSZ   16
 
#define HASH_FUNC(a)   ((a)%ROTLSTHASHSZ)
 
#define MAXFUNCNAMELEN   64
 
#define PREFIX   "hamlib-"
 

Functions

int rot_register (const struct rot_caps *caps)
 
const struct rot_capsrot_get_caps (rot_model_t rot_model)
 
int rot_check_backend (rot_model_t rot_model)
 
int rot_unregister (rot_model_t rot_model)
 
int rot_list_foreach (int(*cfunc)(const struct rot_caps *, char *), char *data)
 
rot_model_t rot_probe_all (hamlib_port_t *p)
 
int rot_load_all_backends ()
 
int rot_load_backend (const char *be_name)
 

Detailed Description

Dynamic registration of rotator backends.

Similar to register.c doc todo: Let's explain what's going on here!


Generated by doxygen 1.8.11

Hamlib documentation for version 1.2.15.3
Project page: http://www.hamlib.org