kopia lustrzana https://github.com/Hamlib/Hamlib
Add needed new includes in src/*.c
rodzic
02179e0a93
commit
0148378ed9
|
@ -38,6 +38,8 @@
|
|||
#include <string.h> /* String function definitions */
|
||||
|
||||
#include <hamlib/amplifier.h>
|
||||
#include "hamlib/port.h"
|
||||
#include "hamlib/amp_state.h"
|
||||
|
||||
#include "amp_conf.h"
|
||||
#include "token.h"
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
#include <hamlib/config.h>
|
||||
|
||||
#include <hamlib/rig.h>
|
||||
#include "hamlib/amp_state.h"
|
||||
#include <hamlib/amplifier.h>
|
||||
|
||||
|
||||
|
|
|
@ -58,6 +58,8 @@
|
|||
#include <fcntl.h>
|
||||
|
||||
#include <hamlib/amplifier.h>
|
||||
#include "hamlib/port.h"
|
||||
#include "hamlib/amp_state.h"
|
||||
#include "serial.h"
|
||||
#include "parallel.h"
|
||||
#include "usb_port.h"
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
|
||||
#include "cache.h"
|
||||
#include "hamlib/rig_state.h"
|
||||
#include "misc.h"
|
||||
|
||||
#define CHECK_RIG_ARG(r) (!(r) || !(r)->caps || !STATE(r)->comm_state)
|
||||
|
|
|
@ -38,6 +38,8 @@
|
|||
#include <string.h> /* String function definitions */
|
||||
|
||||
#include <hamlib/rig.h>
|
||||
#include "hamlib/port.h"
|
||||
#include "hamlib/rig_state.h"
|
||||
#include "token.h"
|
||||
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
#endif
|
||||
|
||||
#include <hamlib/rig.h>
|
||||
#include "hamlib/rig_state.h"
|
||||
#include "event.h"
|
||||
#include "misc.h"
|
||||
#include "cache.h"
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#include <sys/stat.h>
|
||||
|
||||
#include <hamlib/rig.h>
|
||||
#include "hamlib/rig_state.h"
|
||||
|
||||
#ifndef DOC_HIDDEN
|
||||
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
#include <math.h>
|
||||
|
||||
#include <hamlib/rig.h>
|
||||
#include "hamlib/rig_state.h"
|
||||
#include <hamlib/rotator.h>
|
||||
#include <hamlib/amplifier.h>
|
||||
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
#include <arpa/inet.h>
|
||||
#endif
|
||||
#include "hamlib/rig.h"
|
||||
#include "hamlib/port.h"
|
||||
#include "hamlib/rig_state.h"
|
||||
#include "misc.h"
|
||||
#include "cache.h"
|
||||
#include "multicast.h"
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
#endif
|
||||
|
||||
#include <hamlib/rig.h>
|
||||
#include "hamlib/rig_state.h"
|
||||
#include "network.h"
|
||||
#include "misc.h"
|
||||
#include "asyncpipe.h"
|
||||
|
|
|
@ -50,8 +50,10 @@
|
|||
* \example ../tests/testrig.c
|
||||
*/
|
||||
|
||||
#include "hamlib/rig.h"
|
||||
#include "hamlib/config.h"
|
||||
#include "hamlib/rig.h"
|
||||
#include "hamlib/port.h"
|
||||
#include "hamlib/rig_state.h"
|
||||
#include "fifo.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -39,6 +39,8 @@
|
|||
#include <string.h> /* String function definitions */
|
||||
|
||||
#include <hamlib/rotator.h>
|
||||
#include "hamlib/port.h"
|
||||
#include "hamlib/rot_state.h"
|
||||
|
||||
#include "rot_conf.h"
|
||||
#include "token.h"
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
|
||||
#include <hamlib/rig.h>
|
||||
#include <hamlib/rotator.h>
|
||||
#include "hamlib/rot_state.h"
|
||||
|
||||
|
||||
#ifndef DOC_HIDDEN
|
||||
|
|
|
@ -58,6 +58,8 @@
|
|||
#include <fcntl.h>
|
||||
|
||||
#include <hamlib/rotator.h>
|
||||
#include "hamlib/port.h"
|
||||
#include "hamlib/rot_state.h"
|
||||
#include "serial.h"
|
||||
#include "parallel.h"
|
||||
#if defined(HAVE_LIB_USB_H) || defined(HAMB_LIBUSB_1_0_LIBUSB_H)
|
||||
|
|
|
@ -64,6 +64,7 @@
|
|||
#endif
|
||||
|
||||
#include <hamlib/rig.h>
|
||||
#include "hamlib/port.h"
|
||||
|
||||
//! @cond Doxygen_Suppress
|
||||
#if defined(WIN32) && !defined(HAVE_TERMIOS_H)
|
||||
|
@ -211,7 +212,7 @@ int check_com_port_in_use(const char *port)
|
|||
#endif
|
||||
|
||||
/**
|
||||
* \brief Open serial port using STATE(rig) data
|
||||
* \brief Open serial port using port data only
|
||||
* \param rp port data structure (must spec port id eg /dev/ttyS1)
|
||||
* \return RIG_OK or < 0 if error
|
||||
*/
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#include <hamlib/rig.h>
|
||||
#include "hamlib/rig_state.h"
|
||||
#include "cal.h"
|
||||
#include "misc.h"
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
#include <unistd.h>
|
||||
#include <hamlib/config.h>
|
||||
#include <hamlib/rig.h>
|
||||
#include "hamlib/port.h"
|
||||
#include "hamlib/rig_state.h"
|
||||
#include "misc.h"
|
||||
#include "cache.h"
|
||||
#include "snapshot_data.h"
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#include <hamlib/rig.h>
|
||||
#include "hamlib/rig_state.h"
|
||||
#include "tones.h"
|
||||
|
||||
#if !defined(_WIN32) && !defined(__CYGWIN__)
|
||||
|
|
Ładowanie…
Reference in New Issue