Go to the documentation of this file. 1 #ifndef _OME_FUNCTIONS_H
2 #define _OME_FUNCTIONS_H "$Id: OMEfunctions.h 445 2020-07-23 20:07:15Z geoff $"
25 uint32_t *anyMask =
nullptr);
38 uint32_t tArg,
int asGMT);
51 uint_fast16_t *sockLen,
int *sockMode,
OME_DLL_EXPORT int OMEconvertRFC1123date(OMEtype &result, const OMEtype &timeString)
Convert a text string in RFC 1123 format into an OME absolute time reference.
Definition: OMEtime.cpp:342
SOCKET sock
Definition: sockspx.c:203
OME_DLL_EXPORT int OME_DLL_EXPORT OMEstring * OMEdisplayableAddress(const struct sockaddr *sock, const int len, const uint32_t openMode) NONNULL_PARAMETERS(1)
Convert sockaddr data into a text string.
Definition: OMEaddr.cpp:349
Implements text and binary string storage.
Definition: OMEstring.h:305
Fundamental ANY type for FARGOS/VISTA Object Management Environment.
Definition: OMEbaseType.h:250
OME_DLL_EXPORT uint32_t OMEhash(const unsigned char *data, const uint32_t len) NONNULL_PARAMETERS(1)
Fast 32-bit hash over a buffer.
Definition: OMEhash.cpp:13
OME_DLL_EXPORT OMEarray * OMElistDirectory(const OMEstring &dirName, int *errRet=nullptr)
List all files within a filesystem directory.
Definition: OMEfindFile.cpp:112
#define NONNULL_PARAMETERS(...)
Mark parameters to a function as not permitting null pointers.
Definition: compiler_hints.h:335
OME_DLL_EXPORT int OMEgetInterfaces(OMEtype &result)
Definition: OMEifList.cpp:290
OME_DLL_EXPORT int OMEiso8601Date(OMEtype &result, const OMEtype &argData)
Format an OME absolute time reference as a date and time in ISO 8601 format.
Definition: OMEtime.cpp:273
OME_DLL_EXPORT int OMEconvertLocalRelativeTimeToAbsolute(OMEtype &result, uint32_t tArg, int asGMT)
Convert a local relative time to an OME absolute time reference.
Definition: OMEtime.cpp:89
OME fundamental type implementation.
OME_DLL_EXPORT int OMEtransportToSockaddr(union sockBigEnough *sock, uint_fast16_t *sockLen, int *sockMode, const char *url, uint_fast16_t urlLen) NONNULL_PARAMETERS(1
OME_DLL_EXPORT uint32_t OMEconvertAbsoluteToLocalRelativeTime(const OMEtype &tData)
Convert an OME absolute time reference to a local relative time.
Definition: OMEtime.cpp:152
OME_DLL_EXPORT OMEstring * OMEfindFileInDirectory(const OMEstring &fileName, const OMEarray &dirList)
Search for a file located within a list of directories specified as elements of an OMEarray.
Definition: OMEfindFile.cpp:292
OME_DLL_EXPORT OMEstring * OMEfindFileInPathSpec(const OMEstring &fileName, const OMEstring &path)
Search for a file located within a set of directories specified by a string path.
Definition: OMEfindFile.cpp:344
OME_DLL_EXPORT uint32_t OMEmethodSignature(const int argc, const uint32_t types[], uint32_t *anyMask=nullptr)
Compute 32-bit signature of a method's arguments.
Definition: OMEsignature.cpp:15
OME_DLL_EXPORT int OMErfc1123Date(OMEtype &result, const OMEtype &argData)
Format an OME absolute time reference as a data and time in RFC 1123 format.
Definition: OMEtime.cpp:218
#define OME_DLL_EXPORT
Definition: compiler_hints.h:464
Implements sparse array of OMEtype elements.
Definition: OMEarray.h:75
OME_DLL_EXPORT int OMEtimeDifference(const OMEtype &time1, const OMEtype &time2)
Compute difference between two OME absolute time references.
Definition: OMEtime.cpp:529
OME_DLL_EXPORT OMEarray * OMEparsePathSpecification(const OMEstring &pathSpec)
Parse a list of directories specified by a string path into an sequence of OMEarray elements.
Definition: OMEfindFile.cpp:236