kopia lustrzana https://github.com/Hamlib/Hamlib
win32 fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2084 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.6rc1
rodzic
eb7b3348e2
commit
1059d1be9e
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* Hamlib Interface - debug
|
* Hamlib Interface - debug
|
||||||
* Copyright (c) 2000-2005 by Stephane Fillod
|
* Copyright (c) 2000-2006 by Stephane Fillod
|
||||||
*
|
*
|
||||||
* $Id: debug.c,v 1.2 2006-01-16 21:00:25 fillods Exp $
|
* $Id: debug.c,v 1.3 2006-02-26 23:28:13 fillods Exp $
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Library General Public License as
|
* it under the terms of the GNU Library General Public License as
|
||||||
|
@ -170,7 +170,7 @@ rig_message_cb (enum rig_debug_level_e debug_level,
|
||||||
*
|
*
|
||||||
* \sa rig_debug()
|
* \sa rig_debug()
|
||||||
*/
|
*/
|
||||||
vprintf_cb_t rig_set_debug_callback(vprintf_cb_t cb, rig_ptr_t arg)
|
vprintf_cb_t HAMLIB_API rig_set_debug_callback(vprintf_cb_t cb, rig_ptr_t arg)
|
||||||
{
|
{
|
||||||
vprintf_cb_t prev_cb = rig_vprintf_cb;
|
vprintf_cb_t prev_cb = rig_vprintf_cb;
|
||||||
|
|
||||||
|
@ -184,7 +184,7 @@ vprintf_cb_t rig_set_debug_callback(vprintf_cb_t cb, rig_ptr_t arg)
|
||||||
* \brief change stderr to some different output
|
* \brief change stderr to some different output
|
||||||
* \param stream The stream to set output to
|
* \param stream The stream to set output to
|
||||||
*/
|
*/
|
||||||
FILE *rig_set_debug_file(FILE *stream)
|
FILE* HAMLIB_API rig_set_debug_file(FILE *stream)
|
||||||
{
|
{
|
||||||
FILE *prev_stream = rig_debug_stream;
|
FILE *prev_stream = rig_debug_stream;
|
||||||
|
|
||||||
|
|
10
src/mem.c
10
src/mem.c
|
@ -12,7 +12,7 @@
|
||||||
* Hamlib Interface - mem/channel calls
|
* Hamlib Interface - mem/channel calls
|
||||||
* Copyright (c) 2000-2006 by Stephane Fillod
|
* Copyright (c) 2000-2006 by Stephane Fillod
|
||||||
*
|
*
|
||||||
* $Id: mem.c,v 1.7 2006-01-15 14:25:25 fillods Exp $
|
* $Id: mem.c,v 1.8 2006-02-26 23:28:13 fillods Exp $
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Library General Public License as
|
* it under the terms of the GNU Library General Public License as
|
||||||
|
@ -813,7 +813,7 @@ int set_parm_all_cb_generic (RIG *rig, confval_cb_t parm_cb, rig_ptr_t cfgps,
|
||||||
* \sa rig_get_mem_all_cb(), rig_set_mem_all()
|
* \sa rig_get_mem_all_cb(), rig_set_mem_all()
|
||||||
* \todo finish coding and testing of mem_all functions
|
* \todo finish coding and testing of mem_all functions
|
||||||
*/
|
*/
|
||||||
int rig_set_mem_all_cb (RIG *rig, chan_cb_t chan_cb, confval_cb_t parm_cb, rig_ptr_t arg)
|
int HAMLIB_API rig_set_mem_all_cb (RIG *rig, chan_cb_t chan_cb, confval_cb_t parm_cb, rig_ptr_t arg)
|
||||||
{
|
{
|
||||||
struct rig_caps *rc;
|
struct rig_caps *rc;
|
||||||
int retval;
|
int retval;
|
||||||
|
@ -862,7 +862,7 @@ int rig_set_mem_all_cb (RIG *rig, chan_cb_t chan_cb, confval_cb_t parm_cb, rig_p
|
||||||
* \todo get all parm's
|
* \todo get all parm's
|
||||||
* \todo finish coding and testing of mem_all functions
|
* \todo finish coding and testing of mem_all functions
|
||||||
*/
|
*/
|
||||||
int rig_get_mem_all_cb (RIG *rig, chan_cb_t chan_cb, confval_cb_t parm_cb, rig_ptr_t arg)
|
int HAMLIB_API rig_get_mem_all_cb (RIG *rig, chan_cb_t chan_cb, confval_cb_t parm_cb, rig_ptr_t arg)
|
||||||
{
|
{
|
||||||
struct rig_caps *rc;
|
struct rig_caps *rc;
|
||||||
int retval;
|
int retval;
|
||||||
|
@ -911,7 +911,7 @@ int rig_get_mem_all_cb (RIG *rig, chan_cb_t chan_cb, confval_cb_t parm_cb, rig_p
|
||||||
* \todo set all parm's
|
* \todo set all parm's
|
||||||
* \todo finish coding and testing of mem_all functions
|
* \todo finish coding and testing of mem_all functions
|
||||||
*/
|
*/
|
||||||
int rig_set_mem_all (RIG *rig, const channel_t chans[], const struct confparams cfgps[], const value_t vals[])
|
int HAMLIB_API rig_set_mem_all (RIG *rig, const channel_t chans[], const struct confparams cfgps[], const value_t vals[])
|
||||||
{
|
{
|
||||||
struct rig_caps *rc;
|
struct rig_caps *rc;
|
||||||
int retval;
|
int retval;
|
||||||
|
@ -962,7 +962,7 @@ int rig_set_mem_all (RIG *rig, const channel_t chans[], const struct confparams
|
||||||
* \sa rig_get_mem_all(), rig_set_mem_all_cb()
|
* \sa rig_get_mem_all(), rig_set_mem_all_cb()
|
||||||
* \todo finish coding and testing of mem_all functions
|
* \todo finish coding and testing of mem_all functions
|
||||||
*/
|
*/
|
||||||
int rig_get_mem_all (RIG *rig, channel_t chans[], const struct confparams cfgps[], value_t vals[])
|
int HAMLIB_API rig_get_mem_all (RIG *rig, channel_t chans[], const struct confparams cfgps[], value_t vals[])
|
||||||
{
|
{
|
||||||
struct rig_caps *rc;
|
struct rig_caps *rc;
|
||||||
int retval;
|
int retval;
|
||||||
|
|
Ładowanie…
Reference in New Issue