Merge branch 'master' of gitea.larke.org:klarke/libcw
This commit is contained in:
commit
3ecea739f1
@ -41,7 +41,8 @@ namespace cw
|
|||||||
kLabelNotFoundRC, // 22 - use by cwObject to indicate that an optional value does not exist.
|
kLabelNotFoundRC, // 22 - use by cwObject to indicate that an optional value does not exist.
|
||||||
kDuplicateRC, // 23 - an invalid duplicate was detected
|
kDuplicateRC, // 23 - an invalid duplicate was detected
|
||||||
kAssertFailRC, // 24 - used with cwLogFatal
|
kAssertFailRC, // 24 - used with cwLogFatal
|
||||||
kBaseAppRC // 25
|
kInvalidDataTypeRC, // 25
|
||||||
|
kBaseAppRC // 26
|
||||||
} cwRC_t;
|
} cwRC_t;
|
||||||
|
|
||||||
typedef unsigned rc_t;
|
typedef unsigned rc_t;
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#define cwPOSIX_FILE_SYS
|
#define cwPOSIX_FILE_SYS
|
||||||
#include <time.h> // timespec
|
#include <time.h> // timespec
|
||||||
#include <netinet/in.h> // struct sockaddr_in
|
#include <netinet/in.h> // struct sockaddr_in
|
||||||
|
#include <unistd.h> // close()
|
||||||
#define cwPathSeparatorChar '/'
|
#define cwPathSeparatorChar '/'
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -717,13 +717,14 @@ cw::rc_t cw::eucon::exec( handle_t h, unsigned sockTimeOutMs )
|
|||||||
|
|
||||||
bool cw::eucon::areMsgsWaiting( handle_t h )
|
bool cw::eucon::areMsgsWaiting( handle_t h )
|
||||||
{
|
{
|
||||||
eucon_t* p = _handleToPtr(h);
|
//eucon_t* p = _handleToPtr(h);
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
cw::rc_t cw::eucon::getMsgs( handle_t h, msgCallback_t cbFunc, void* cbArg )
|
cw::rc_t cw::eucon::getMsgs( handle_t h, msgCallback_t cbFunc, void* cbArg )
|
||||||
{
|
{
|
||||||
rc_t rc = kOkRC;
|
rc_t rc = kOkRC;
|
||||||
eucon_t* p = _handleToPtr(h);
|
//eucon_t* p = _handleToPtr(h);
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
@ -732,7 +733,7 @@ cw::rc_t cw::eucon::getMsgs( handle_t h, msgCallback_t cbFunc, void* cbArg )
|
|||||||
cw::rc_t cw::eucon::sendMsg( handle_t h, unsigned flags, unsigned channel, unsigned ivalue, float fvalue )
|
cw::rc_t cw::eucon::sendMsg( handle_t h, unsigned flags, unsigned channel, unsigned ivalue, float fvalue )
|
||||||
{
|
{
|
||||||
rc_t rc = kOkRC;
|
rc_t rc = kOkRC;
|
||||||
eucon_t* p = _handleToPtr(h);
|
//eucon_t* p = _handleToPtr(h);
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user