failed approach
This commit is contained in:
Makefile
config/objects
gomspace
gomspace.mkclock.ccommands.cconn.ccsp.cwscript
libgscsp
include
gs
lib
libcsp
CHANGELOGCONTRIBUTORSCOPYINGINSTALL.rstREADME.rst
bindings
python
libcsp
doc
example.rsthistory.rstinterfaces.rstlibcsp.rstmemory.rstmtu.rstprotocolstack.rststructure.rsttopology.rst
examples
csp_if_fifo.ccsp_if_fifo_windows.ckiss.cpython_bindings_example_client.pypython_bindings_example_client_can.pypython_bindings_example_server.pysimple.czmqproxy.c
include
csp
src
arch
freertos
macosx
posix
windows
bindings
python
crypto
csp_bridge.ccsp_buffer.ccsp_conn.ccsp_conn.hcsp_crc32.ccsp_debug.ccsp_dedup.ccsp_dedup.hcsp_endian.ccsp_hex_dump.ccsp_iflist.ccsp_io.ccsp_io.hcsp_port.ccsp_port.hcsp_promisc.ccsp_promisc.hcsp_qfifo.ccsp_qfifo.hcsp_route.ccsp_route.hcsp_service_handler.ccsp_services.ccsp_sfp.cdrivers
interfaces
rtable
transport
utils
wafwscriptsrc
bindings
python
drivers
error.cfreertos
linux
local.hlog.crouter.crtable.cservice_dispatcher.cservice_handler.ctransaction.clibp60_client
libutil
include
deprecated
gs
uthash
util
base16.hbytebuffer.hbyteorder.hcheck.hclock.hconf_util.hcrc32.hcrc8.hdelay.h
drivers
endian.herror.hfletcher.hfunction_scheduler.hgosh
hexdump.hlinux
log.hlog
minmax.hmutex.hpgm.hqueue.hrtc.hsem.hstdio.hstring.htest
thread.htime.htimestamp.htypes.hunistd.hvmem.hwatchdog
zip
src
base16.cbytebuffer.cbyteorder.cclock.ccrc32.ccrc8.c
wscriptbindings
python
drivers
error.cfletcher.cfunction_scheduler.cgosh
hexdump.clinux
argp.cclock.ccommand_line.ccwd.cdelay.c
lock.clock.hdrivers
function.cmutex.cqueue.crtc.csem.csignal.cstdio.csysfs_helper.cthread.ctime.clog
rtc.cstdio.cstring.cstrtoint.ctest
time.ctimestamp.cvmem
watchdog
zip
mission
test/testtasks
28
gomspace/libutil/include/gs/util/linux/rtc.h
Normal file
28
gomspace/libutil/include/gs/util/linux/rtc.h
Normal file
@ -0,0 +1,28 @@
|
||||
#ifndef GS_UTIL_LINUX_RTC_H
|
||||
#define GS_UTIL_LINUX_RTC_H
|
||||
/* Copyright (c) 2013-2017 GomSpace A/S. All rights reserved. */
|
||||
/**
|
||||
@file
|
||||
|
||||
Real Time Clock interface (linux).
|
||||
*/
|
||||
|
||||
#include <gs/util/rtc.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
Register Real Time Clock interface.
|
||||
@note Setting the RTC will normally require special permission.
|
||||
@param[in] get if true, get will be registered.
|
||||
@param[in] set if true, set will be registered.
|
||||
@return_gs_error_t
|
||||
*/
|
||||
gs_error_t gs_rtc_register_linux(bool get, bool set);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
Reference in New Issue
Block a user