Go to the documentation of this file.
2 #define _OME_API_H "$Id: OMEapi.h 340 2020-05-19 18:43:48Z geoff $"
182 if (
conn ==
nullptr)
return (-1);
197 if (
conn ==
nullptr)
return (-1);
208 if (
conn ==
nullptr)
return (
nullptr);
221 if (
conn ==
nullptr) {
OMEassoc * OMEmakeACL(const OMEstring &entity, uint_fast32_t defaultPermission, const OMEassoc &methodList)
Definition: OMEobjACL.cpp:164
OMEtype threadContext
Definition: OMEthread.h:77
int SHA256hash(OMEthread *thread, OMEtype &result, const OMEtype &message)
Definition: OILcrypto.cpp:21
char * if_indextoname(uint32_t ifindex, char *ifname)
#define ARG_IS_INT32(x)
Definition: OILbits.cpp:11
#define OME_IO_MULTICAST
Definition: OMEmanifests.h:133
int makeAsString(OMEthread *thread, OMEtype &result, const OMEtype &args)
Definition: OILdebug.cpp:298
int sendString(const OMEstring &data, int *errRet=nullptr)
Definition: OMEapi.cpp:555
unsigned int allocSNMPsession(SNMPhandle handle)
Definition: OILsnmp.cpp:10
OMEstring secret
Definition: OMEapi.h:24
OMEstring * condenseIntoString(bool includeVersionID)
Serialize all OMEencodeBufferElement items into a single string.
Definition: OMEencode.cpp:75
OME process information implementation.
#define OME_IO_NONBLOCKING
Definition: OMEmanifests.h:130
int sine(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:31
int base64ToASCII(OMEthread *thread, OMEtype &result, const OMEtype &source)
Definition: OILmimeDecode.cpp:338
OMEtype peerOID
Definition: OMEapi.h:28
int arcSine(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:94
int getRandomInteger(OMEthread *thread, OMEtype &result, const OMEtype &upperBound)
Definition: OILcrypto.cpp:205
~OMEconnection()
Definition: OMEapi.cpp:82
@ OME_NLM
Definition: OMEmanifests.h:90
int negotiateKey()
Definition: OMEapi.cpp:116
ssize_t substr(const OMEstring &sub, size_t startOffset=0) const
Definition: OMEstring.h:490
Ïúíþ ð Ø ˜ ˜ __text __TEXT € __apple_names __DWARF __apple_objc __DWARF __apple_namespac__DWARF H X __apple_types __DWARF l
Definition: tmp3.o.cpp:1
int findSubstring(OMEthread *thread, OMEtype &result, const OMEtype &source, const OMEtype &substring)
Definition: OILtypeFuncs.cpp:204
int convertLocalRelativeTimeToAbsolute(OMEthread *thread, OMEtype &result, const OMEtype &, const OMEtype &)
Definition: OILtime.cpp:55
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_FAST_CALL int sendMessage(const OMEstring &methodName, const uint32_t hashIndx, const uint32_t argc, const OMEarray &argv, const OMEtype &destObj, const OMEtype *fromObj=nullptr) const
Definition: OMEthread.cpp:470
uint32_t elementCount() const OME_ALWAYS_INLINE
Returns the number of elements in the set.
Definition: OMEset.h:213
int OMEremoveSelectEvent(uint64_t handle, OMEioEvent::OMEselectMode m)
Definition: OMEioEvents.cpp:237
int OMEinitNewCipher(const OMEstring &initVector)
Definition: aesCover.cpp:29
int arcTangent2(OMEthread *thread, OMEtype &result, const OMEtype &arg, const OMEtype &arg2)
Definition: OILmath.cpp:136
int hexToBinary(OMEthread *thread, OMEtype &result, const OMEtype &args)
Definition: OILdebug.cpp:344
OMEstring destination
Definition: OMEapi.h:87
@ OME_FLOAT
Definition: OMEmanifests.h:82
void initializeAsType(const enum OMEtypes_t t)
The fundamental tagged data type used through the FARGOS/VISTA infrastructure.
Definition: OMEtype.cpp:95
int gunzipString(OMEthread *thread, OMEtype &result, const OMEtype &data)
Definition: OILencode.cpp:154
void setContext(const OMEassoc &env)
Definition: OMEapi.h:169
int iso8601Date(OMEthread *thread, OMEtype &result, const OMEtype &argData)
Definition: OILtime.cpp:112
OMEioDescriptor * descriptor
Definition: OMEapi.h:22
@ timerExpired
elapsed time timer
Definition: OMEevent.h:25
@ OME_DISABLE_QUOTE_OUTPUT
Definition: OMEmanifests.h:110
int typeAsText(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILtypeFuncs.cpp:159
int parseMIMEblock(OMEthread *thread, OMEtype &result, const OMEtype &data)
Definition: OILmimeDecode.cpp:352
int renameFile(OMEthread *thread, OMEtype &result, const OMEtype &orgFileName, const OMEtype &newFileName)
Definition: OILio.cpp:880
int convertAbsoluteToLocalRelativeTime(OMEthread *thread, OMEtype &result, const OMEtype &tData)
Definition: OILtime.cpp:66
const char s[]
Definition: t.cpp:4
int closeIO(OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &flags, const OMEtype &sidesMask)
Definition: OILio.cpp:151
const char * typeName() const NONNULL_RETURN
Definition: OMEbaseType.h:874
SMV_StandaloneNumeric< uint32_t > OMEdebugFlag("debugFlag")
int arcCosine(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:73
int encryptCipherID
Definition: OMEapi.h:30
int getEnvironmentVariable(OMEthread *thread, OMEtype &result, const OMEtype &varName)
Definition: OILtypeFuncs.cpp:652
OMEstring * OMEmakeSHA1hash(const OMEstring &message)
Compute Secure Hash Algorithm 1 over an OMEstring.
Definition: pkRoutines.cpp:83
int compressString(OMEthread *thread, OMEtype &result, const OMEtype &data)
Definition: OILencode.cpp:100
#define ARG_IS_INT32(x)
Definition: OILsnmp.cpp:5
uint32_t if_nametoindex(const char *ifname)
bool elementExists(const OMEtype &elem) const OME_ALWAYS_INLINE
Returns a Boolean indication if an indicated OMEtype element is present within the set.
Definition: OMEset.h:223
OME_DLL_EXPORT void INIT_DECLARE_OILmath()
Definition: OILmath.cpp:564
void OMEstartCriticalSection(eOMEcriticalSectionLabel regionID)
Definition: OMEmutex.cpp:217
OME_DLL_EXPORT void INIT_DECLARE_OILio()
Definition: OILio.cpp:963
int displayVisible(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILdebug.cpp:372
int acceptConnection(OMEthread *thread, OMEtype &result, const OMEtype &ioID)
Definition: OILio.cpp:557
OMEstring * OMEdisplayableAddress(const struct sockaddr *sock, const int len, const uint32_t openMode)
Convert sockaddr data into a text string.
Definition: OMEaddr.cpp:349
static int connectionCount
Definition: OMEapi.h:85
@ OME_UINT16
Definition: OMEmanifests.h:98
int decryptSessionKey(OMEthread *thread, OMEtype &result, const OMEtype &privateKey, const OMEtype &encryptedKey)
Definition: OILcrypto.cpp:84
bool deleteIndex(const uint32_t i)
Definition: OMEarray.h:184
size_t writeAsTextToBuffer(unsigned int prefixWithFlags) OME_ALWAYS_INLINE OME_ALWAYS_OPTIMIZE("-O3")
Format the LogMessageRecord as a text output line (using formatRecordAsText()) and pass the resulting...
Definition: logging_api.hpp:1415
int charToString(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILtypeFuncs.cpp:82
OMEstring * receiveString(int *errRet=nullptr)
Definition: OMEapi.cpp:624
unsigned char * data
Definition: OMEioObjects.h:19
int exponential(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:229
int concatBits(OMEthread *thread, OMEtype &result, const OMEtype &bitData, const OMEtype &bitsToAdd, const OMEtype ¤tState)
Definition: OILbits.cpp:119
int listInterfaces(OMEthread *thread, OMEtype &result)
Definition: OILio.cpp:954
OMEstring * encodeData(const OMEtype &messData)
Definition: OMEapi.cpp:593
size_t length
Definition: OMEioObjects.h:20
OMEstring * reverse() const
Definition: OMEstring.h:526
int listEncodingVersions(OMEthread *thread, OMEtype &result)
Definition: OILencode.cpp:18
int stripHTML(OMEthread *thread, OMEtype &result, const OMEtype &source)
Definition: OILhttpFuncs.cpp:457
int getThisObject(OMEtype &obj)
Definition: OMEapi.h:196
@ selectRead
Definition: OMEioEvents.h:21
#define ARG_IS_INT32(x)
Definition: OILmimeDecode.cpp:10
int decryptKeyID
Definition: OMEapi.h:33
bool isEmpty() const OME_ALWAYS_INLINE
Definition: OMEassoc.h:246
int asciiToBase64(OMEthread *thread, OMEtype &result, const OMEtype &source, const OMEtype &breakIntoLines)
Definition: OILmimeDecode.cpp:318
OMEconnection * conn
Definition: OMEapi.h:88
uint_fast32_t getLogPrefixMask() const OME_ALWAYS_INLINE
Get current log prefix mask. It will be a combination of bits composed from LogMessageRecord::LogPref...
Definition: logging_api.hpp:647
Implements associative array of OMEtype elements.
Definition: OMEassoc.h:112
ASSOC_HASH_KEY_t nextIndex(const ASSOC_HASH_KEY_t currentSubscript) const
Definition: OMEassoc.h:236
@ selectWrite
Definition: OMEioEvents.h:21
OMEstring * OMEuncompressString(const OMEstring &data)
Uncompress a previously compressed string.
Definition: OMEcompress.cpp:61
OMEoid * thisObject
Definition: OMEapi.h:86
const OMEoid & getThisOID() const OME_ALWAYS_INLINE
Definition: OMEthread.h:154
int floor(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:365
uint_fast16_t OMElistDefinedEncodingVersions(OMEarray &list)
Obtain a list of available encoding routines.
Definition: OMEencode.cpp:134
Implements text and binary string storage.
Definition: OMEstring.h:305
int uncompressString(OMEthread *thread, OMEtype &result, const OMEtype &data)
Definition: OILencode.cpp:118
int encodeData(OMEthread *thread, OMEtype &result, const OMEtype &data, const OMEtype &version)
Definition: OILencode.cpp:26
int decryptMessage(OMEthread *thread, OMEtype &result, const OMEtype &cipherData, const OMEtype &message)
Definition: OILcrypto.cpp:178
OME type encoding routines.
Buffer into which OMEtype data is encoded.
Definition: OMEencode.h:54
int OMEfreeEncryptionKey(int useKey)
Definition: aesCover.cpp:111
int getPeerObject(OMEtype &obj)
Definition: OMEapi.h:60
#define EAGAIN
Definition: tmp.o.cpp:64
int MD5hash(OMEthread *thread, OMEtype &result, const OMEtype &message)
Definition: OILcrypto.cpp:33
bool indexExists(const uint32_t i) const
Definition: OMEarray.h:202
int hyperbolicCosine(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:166
bool isPosted() const
Check if event has been posted.
Definition: OMEevent.h:88
int logOutput(OMEthread *thread, OMEtype &result, const OMEtype &args)
Definition: OILdebug.cpp:199
int OMEencryptString(int useCipher, int useKey, const OMEstring &input, OMEstring &result)
Definition: aesCover.cpp:124
int ceiling(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:344
Fundamental ANY type for FARGOS/VISTA Object Management Environment.
Definition: OMEbaseType.h:250
static const OMEtype getValueOfCounter(const char *name) NONNULL_PARAMETERS(1)
Return the value of an named variable.
Definition: OMEdebugInfo.cpp:355
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
bool indexExists(const ASSOC_HASH_KEY_t i) const
Definition: OMEassoc.h:226
Base class and abstract interface for an object within a FARGOS/VISTA Object Management Environment.
Definition: OMEobject.h:22
int decodeData(OMEthread *thread, OMEtype &result, const OMEtype &data)
Definition: OILencode.cpp:61
int allocateXMLparser(OMEthread *thread, OMEtype &result)
Definition: OILxmlParse.cpp:145
@ OME_DOUBLE
Definition: OMEmanifests.h:83
int getHostKey(OMEthread *thread, OMEtype &result, const OMEtype &secret, const OMEtype &logicalDomain)
Definition: OILcrypto.cpp:277
OMEstring * OMEmakePublicKey(const OMEstring &privateKey)
Definition: pkRoutines.cpp:192
int getPeerAddress(OMEthread *thread, OMEtype &result, const OMEtype &ioID)
Definition: OILio.cpp:603
int encryptKeyID
Definition: OMEapi.h:31
const int CMD_SUBSCRIPT
Definition: OMEapi.cpp:22
int debugDisplay(OMEthread *thread, OMEtype &result, const OMEtype &args)
Definition: OILdebug.cpp:144
OMEoid * thisObject
Definition: OMEapi.h:26
#define OMEdebugExceptions
Definition: OMEdebugInfo.h:24
int OMEwaitForIO(uint_fast32_t delay)
Definition: OMEioEvents.cpp:395
void * SNMPhandle
Definition: OILsnmp.cpp:7
int32_t OMEshutdownRequested()
Returns indication if the shutdown of the FARGOS/VISTA-based component has been requested.
Definition: OMEdebugInfo.cpp:68
void determineCharacterSet()
Definition: OMEstring.h:391
int lowBit(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILbits.cpp:63
OMEarray * OMElistDirectory(const OMEstring &dirName, int *errRet)
List all files within a filesystem directory.
Definition: OMEfindFile.cpp:112
LogMaskType_t COMPONENT_LOG_MASK() io("io_logMask", &DEFAULT_sharedMemoryVariableManager, COMPONENT_LEVEL(io, warn)|COMPONENT_LEVEL(io, error)|COMPONENT_LEVEL(io, fatal))
OMEstring * OMEmakeMD5hash(const OMEstring &message)
Compute Message Digest 5 over an OMEstring.
Definition: pkRoutines.cpp:100
const OMEstring & OMEshareConstant(const OMEstring &stringConstant)
Definition: OMEnamespace.cpp:338
int compareStrings(OMEthread *thread, OMEtype &result, const OMEtype &str1, const OMEtype &str2, const OMEtype &fuzzyCompare)
Definition: OILtypeFuncs.cpp:796
OMEstring * OMEgzipString(const OMEstring &data)
Compress a string into RFC 1952 format.
Definition: OMEcompress.cpp:113
OMEstring * OMEmakeSessionKeyFromPublicKey(const OMEstring &publicKey, OMEstring &randomDataInSessionKeyOut)
Definition: pkRoutines.cpp:255
const typedef void * OMEstringInROM
Points to immovable, read-only string data.
Definition: OMEstring.h:68
void OMEloadVersion1Encodings()
Definition: encodeVer1.cpp:631
@ OME_UINT32
Definition: OMEmanifests.h:96
#define OMEdebugMethodInvocations
Definition: OMEdebugInfo.h:18
#define LOG_COUT(lvl)
Convenience macro that uses LOG_INTO() to conditionally log a message to standard output.
Definition: logging_api.hpp:3007
class OMEstring * s
Definition: OMEbaseType.h:299
#define INVALID_HANDLE_VALUE
Definition: poll_monitor.hpp:19
int decodeStringAsLength(OMEthread *thread, OMEtype &result, const OMEtype &data)
Definition: OILtypeFuncs.cpp:553
int selectForWrite(OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &permitPreempt)
Definition: OILio.cpp:531
OMEstring VISTAdomainName
Definition: OMEapi.h:35
int makeSessionKey(OMEthread *thread, OMEtype &result, const OMEtype &publicKey, const OMEtype &randomData)
Definition: OILcrypto.cpp:61
#define NONNULL_CLASS_PARAMETERS(...)
Mark a function as never returning a null pointer.
Definition: compiler_hints.h:337
int priorIndex(OMEthread *thread, OMEtype &result, const OMEtype &array, const OMEtype &subscript)
Definition: OILtypeFuncs.cpp:416
int64_t OMEticksSinceBoot()
Obtain the number of CPU ticks since boot of local FARGOS/VISTA Object Management Environment process...
Definition: OMEprocInfo.cpp:103
~OMEapi()
Definition: OMEapi.cpp:742
uint32_t classVersionID
Definition: OMEoid.h:29
#define IS_PATH_SEP(c)
Definition: OILhttpFuncs.cpp:131
#define FILE_TYPE_LOCALIZED_V1
Definition: OMElicense.cpp:19
int OMEdecryptString(int useCipher, int useKey, const OMEstring &input, OMEstring &result)
Definition: aesCover.cpp:179
OMEstring * OMEgunzipString(const OMEstring &data)
Uncompress a string in RFC 1592 format.
Definition: OMEcompress.cpp:227
OMEtype * OMEgetLicenseAttribute(const OMEstring &attrName, OMEstring *retFileName=0)
Definition: OMElicense.cpp:521
int freeCipher(OMEthread *thread, OMEtype &result, const OMEtype &cipherData)
Definition: OILcrypto.cpp:137
int parseXML(OMEthread *thread, OMEtype &result, const OMEtype &data)
Definition: OILxmlParse.cpp:228
int32_t i
Definition: OMEbaseType.h:285
class OMEarray * array
Definition: OMEbaseType.h:294
#define _RECEIVE_FROM_PEER(v)
Definition: OMEapi.cpp:39
void truncateToLength(size_t newLen)
Definition: OMEstring.h:531
int power(OMEthread *thread, OMEtype &result, const OMEtype &arg, const OMEtype &arg2)
Definition: OILmath.cpp:293
int importInvocation(OMEtype &methodName, OMEtype &argv, OMEtype *fromObj=nullptr, OMEtype *destObj=nullptr, OMEtype *context=nullptr, OMEtype *user=nullptr)
Receives a message from a remote object that is accessible via the set of interconnected FARGOS/VISTA...
Definition: OMEapi.cpp:795
int openURL(OMEthread *thread, OMEtype &result, const OMEtype &url)
Definition: OILio.cpp:87
OMEthread * releaseThread()
Definition: OMEthread.cpp:1126
class OMEnlm * nlm
Definition: OMEbaseType.h:301
OME_DLL_EXPORT int OMEgetInterfaces(OMEtype &result)
Definition: OMEifList.cpp:290
#define OME_IO_RAW
Definition: OMEmanifests.h:132
const char * sourceFileName
Definition: OMEthread.h:84
int getLocalAddress(OMEthread *thread, OMEtype &result, const OMEtype &ioID)
Definition: OILio.cpp:583
int stringToNumber(OMEthread *thread, OMEtype &result, const OMEtype &str, const OMEtype &desiredType)
Definition: OILtypeFuncs.cpp:308
#define ntohs(x)
Definition: tmp.o.cpp:3103
int exactTypeOf(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILtypeFuncs.cpp:151
#define DEFAULT_MAX_READ_BUFFER
Definition: OILio.cpp:33
int getSystemInfo(OMEthread *thread, OMEtype &result)
Definition: OILtime.cpp:31
void suspendThread()
Definition: OMEthread.cpp:1086
int makeAsHexString(OMEthread *thread, OMEtype &result, const OMEtype &args)
Definition: OILdebug.cpp:328
int getLocalizedData(OMEthread *thread, OMEtype &result, OMEtype &fileName, OMEtype &attrName)
Definition: OILcrypto.cpp:259
unsigned char midchar(size_t offset) const
Definition: OMEstring.h:516
@ OME_CRITICAL_SECTION_IO_TABLE
Definition: OMEmutex.h:46
uint32_t isEmpty() const OME_ALWAYS_INLINE
Definition: OMEset.h:218
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
ARRAY_SUBSCRIPT_t priorIndex(const uint32_t currentSubscript) const
Definition: OMEarray.h:232
int arrayToSet(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILtypeFuncs.cpp:571
int sendMessage(const OMEtype &dest, int *errRet=nullptr)
Definition: OMEapi.cpp:603
OMEstring userInfo
Definition: OMEapi.h:34
int makeUnique(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILdebug.cpp:357
static LogManager * STDOUT_LogManager
Created automatically.
Definition: logging_api.hpp:617
Public interface to an OME Native Language Message.
Definition: OMEnlm.h:98
int freeXMLparser(OMEthread *thread, OMEtype &result, const OMEtype &parserID)
Definition: OILxmlParse.cpp:158
OMEioDescriptor * OMEopenURL(const OMEstring &url, int *errCode)
Open an I/O descriptor based on an URL.
Definition: OMEioObjects.cpp:257
OMEioDescriptor * getDescriptor() const
Definition: OMEapi.h:207
int_fast32_t totalReferences() const OME_ALWAYS_INLINE
Get current reference total.
Definition: OMErefCount.h:141
int allocNewSNMPsession(OMEthread *, OMEtype &result, const OMEtype &arg1)
Definition: OILsnmp.cpp:28
OMEstring * OMEmakeSHA256hash(const OMEstring &message)
Compute Secure Hash Algorithm 256 over an OMEstring.
Definition: sha256.cpp:169
#define OME_size_t
Definition: OMEmanifests.h:17
const char srcID[]
Definition: catSym.c:17
int parseXMLusingParser(OMEthread *thread, OMEtype &result, const OMEtype &parserID, const OMEtype &data, const OMEtype &doneFlag)
Definition: OILxmlParse.cpp:182
int relativePathToAbsolute(OMEthread *thread, OMEtype &result, const OMEtype ¤tDir, const OMEtype &path)
Definition: OILhttpFuncs.cpp:186
@ OME_STRING
Definition: OMEmanifests.h:85
int nextIndex(OMEthread *thread, OMEtype &result, const OMEtype &array, const OMEtype &subscript)
Definition: OILtypeFuncs.cpp:396
const int CONTEXT_SUBSCRIPT
Definition: OMEapi.cpp:24
void noteCharacterSet(uint_fast8_t c)
Definition: OMEstring.h:386
ssize_t findSubstring(const unsigned char *source, size_t srcLen, const unsigned char *subString, size_t subLen)
Searches for a substring within a buffer.
Definition: OMEstring.cpp:60
void freeEncryptionResources()
Definition: OMEapi.cpp:89
int expandSSIvars(OMEthread *thread, OMEtype &result, const OMEtype &cmdElements, const OMEtype &env)
Definition: OILhttpFuncs.cpp:396
const OMEstring & getKeyForIndex(const ASSOC_HASH_KEY_t i) const
Definition: OMEassoc.h:198
int sortArray(OMEthread *thread, OMEtype &result, const OMEtype &arg, const OMEtype &mode)
Definition: OILtypeFuncs.cpp:755
@ OME_INT
Definition: OMEmanifests.h:80
int getPeerObject(OMEtype &obj)
Definition: OMEapi.h:181
int parseHTTPuriData(OMEthread *thread, OMEtype &result, const OMEtype &data, const OMEtype &defaultScheme, const OMEtype &defaultAuthority, const OMEtype &defaultContext)
Definition: OILhttpFuncs.cpp:14
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
int sendDatagram(OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &dataToSend, const OMEtype &dest)
Definition: OILio.cpp:375
OMEstring * OMEdecryptSessionKeyWithPrivateKey(const OMEstring &privateKey, const OMEstring &data)
Definition: pkRoutines.cpp:296
OME_DLL_EXPORT void INIT_DECLARE_OILdebug()
Definition: OILdebug.cpp:424
#define ARG_IS_INT32(x)
Definition: OILcrypto.cpp:5
OME_FAST_CALL int generateException(uint_fast32_t argc, const OMEarray &argv) const
Definition: OMEthread.cpp:1197
OMEstring * OMEmakePrivateKey(const OMEstring &secretPhrase)
Definition: pkRoutines.cpp:156
virtual OMEevent * selectForRead(OMEeventCallbackFP func, OMEthread *t=nullptr)=0
Implements an ordered list of OMEtype elements.
Definition: OMEset.h:64
int OMEdefineNewEncryptKey(const OMEstring &key)
Definition: aesCover.cpp:95
Reference-counted link to OMEoidStorageBase object.
Definition: OMEoid.h:79
int makePublicKeyPair(OMEthread *thread, OMEtype &result, const OMEtype &secret)
Definition: OILcrypto.cpp:45
int safeURI(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmimeDecode.cpp:25
int sourceLineNumber
Definition: OMEthread.h:83
int getTicksSinceBoot(OMEthread *thread, OMEtype &result)
Definition: OILtime.cpp:94
int OMEdefineNewDecryptKey(const OMEstring &key)
Definition: aesCover.cpp:103
int midchar(OMEthread *thread, OMEtype &result, const OMEtype &src, const OMEtype &start)
Definition: OILtypeFuncs.cpp:58
#define ARG_IS_INT32(x)
Definition: OILmath.cpp:6
int encode(class OMEencodeBuffer *) const
Add the encoding of an OMEtype into an OMEencodeBuffer.
Definition: OMEencode.cpp:189
int getFileInfo(OMEthread *thread, OMEtype &result, const OMEtype &filePath)
Definition: OILio.cpp:639
int skipAndOutputSetToStream(STREAMTYPE &s, OMEset &args, int skipCount=0)
Definition: OILdebug.cpp:23
const int FORWARD_CMD
Definition: OMEapi.cpp:21
int logarithm10(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:272
The standard mechanism for attaching external processes to a FARGOS/VISTA Object Management Environme...
Definition: OMEapi.h:83
void getMessageInfo(OMEarray &list) const
Definition: OMEnlm.h:178
int deleteIndex(OMEthread *thread, OMEtype &result, const OMEtype &array, const OMEtype &subscript)
Definition: OILtypeFuncs.cpp:452
@ OME_NIL
Definition: OMEmanifests.h:78
@ OME_DEFAULT_CHARSET
Definition: OMEstring.h:35
int display(OMEthread *thread, OMEtype &result, const OMEtype &args)
Definition: OILdebug.cpp:112
#define OME_EXPECT_TRUE(expr)
Annotation macro for conditional expression expected to be true.
Definition: compiler_hints.h:541
int invokeMethod(const OMEtype &dest, const OMEtype &methodName, const OMEtype &args, const OMEtype *fromObj=nullptr, const OMEassoc *context=nullptr)
Definition: OMEapi.cpp:756
OMEioDescriptor * getDescriptor() const
Definition: OMEapi.h:65
OME_FAST_CALL int stringToArrayOfTokens(OMEtype &result, const OMEstring &source, const char *delimeterList=nullptr, const int convertFlag=0)
Tokenizes a string and saves the parsed tokens as individual elements of an array.
Definition: utils.cpp:139
int squareRoot(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:323
float f
Definition: OMEbaseType.h:287
int getLocalRelativeTime(OMEthread *thread, OMEtype &result)
Definition: OILtime.cpp:76
int sleepForSeconds(OMEthread *thread, OMEtype &result, const OMEtype &t)
Definition: OILio.cpp:70
int getHandle() const
Definition: OMEapi.h:69
int getRelativeMilliseconds(OMEthread *thread, OMEtype &result)
Definition: OILtime.cpp:85
int setDebugMask(OMEthread *thread, OMEtype &result, const OMEtype &mask)
Definition: OILdebug.cpp:414
OMEtypes_t
Definition: OMEmanifests.h:77
OMEstring userInfo
Definition: OMEapi.h:90
int OMEfreeDecryptionKey(int useKey)
Definition: aesCover.cpp:119
uint_fast8_t getCharacterSet() const
Definition: OMEstring.h:396
int nlmInfo(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILtypeFuncs.cpp:842
int pathComponentsToString(OMEthread *thread, OMEtype &result, const OMEtype &elements, const OMEtype &startIndex, const OMEtype &stopIndex)
Definition: OILhttpFuncs.cpp:237
#define OMEdebugBadParameter
Definition: OMEdebugInfo.h:27
OMEtype authenticationData
Definition: OMEapi.h:25
int writeBytes(OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &dataToSend)
Definition: OILio.cpp:346
int logarithm(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:251
#define ARG_IS_INT32(x)
Definition: OILxmlParse.cpp:7
int setToArray(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILtypeFuncs.cpp:599
size_t OMEhexToBinary(const unsigned char *src, size_t srcLen, unsigned char *dest, size_t destLen)
Convert hexadecimal text to binary.
Definition: OMEbase64.cpp:225
int reverseString(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILtypeFuncs.cpp:100
OMEapi(const OMEassoc &acl, const char *dest) NONNULL_CLASS_PARAMETERS(3)
Definition: OMEapi.cpp:725
int makeRandomKey(OMEthread *thread, OMEtype &result, const OMEtype &desiredBits)
Definition: OILcrypto.cpp:245
OMEstring * OMEbase64ToBinary(const OMEstring &source)
Convert base-64 encoded text to its binary representation.
Definition: OMEbase64.cpp:156
@ OME_UINT64
Definition: OMEmanifests.h:97
const int USERINFO_SUBSCRIPT
Definition: OMEapi.cpp:25
#define MAX_IO_VECTORS
Definition: OILio.cpp:30
LogMaskType_t COMPONENT_LOG_MASK() app("app_logMask", &DEFAULT_sharedMemoryVariableManager, COMPONENT_LEVEL(app, defaultMask))
int selectForRead(OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &permitPreempt)
Definition: OILio.cpp:504
OMEassocStorage::ASSOC_HASH_KEY_t ASSOC_HASH_KEY_t
Definition: OMEassoc.h:125
@ OME_INIT_VEC_LEN_IN_HEX_BYTES
Definition: OMEcrypto.h:14
int seekToOffset(OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &offset)
Definition: OILio.cpp:273
#define htons(x)
Definition: tmp.o.cpp:3100
OME fundamental type implementation.
Log message record used to remember output format and argument values, potentially deferring formatti...
Definition: logging_api.hpp:1022
int arcTangent(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:115
#define NOTE_DEFAULT_NLM(s)
Declare the default message within a DEFINE_NLM_MESSAGE() block.
Definition: OMEdebugInfo.h:314
int parseAttributeValuePairs(OMEthread *thread, OMEtype &result, const OMEtype &data, const OMEtype &desiredType, const OMEtype &whiteSpace, const OMEtype &equalsSign)
Definition: OILmimeDecode.cpp:98
Equivalent of iov structure.
Definition: OMEioObjects.h:18
OMEstring * OMEcompressString(const OMEstring &data)
Compress a string.
Definition: OMEcompress.cpp:28
OMEstring * midstr(size_t offset, size_t len) const
Definition: OMEstring.h:521
#define COMPONENT_LOG_MASK(component)
Construct variable name for a component's active log mask.
Definition: logging_api.hpp:2214
int typeOf(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILtypeFuncs.cpp:127
int parseHTTPformData(OMEthread *thread, OMEtype &result, const OMEtype &data, const OMEtype &desiredType)
Definition: OILmimeDecode.cpp:36
const int ARGV_SUBSCRIPT
Definition: OMEapi.cpp:23
int getKeyForIndex(OMEthread *thread, OMEtype &result, const OMEtype &array, const OMEtype &subscript)
Definition: OILtypeFuncs.cpp:437
int readBytes(OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &bytesToRead, const OMEtype &bufferSize)
Definition: OILio.cpp:186
int encodeLengthAsString(OMEthread *thread, OMEtype &result, const OMEtype &len)
Definition: OILtypeFuncs.cpp:534
int findSubstringAfter(OMEthread *thread, OMEtype &result, const OMEtype &source, const OMEtype &substring, const OMEtype &offset)
Definition: OILtypeFuncs.cpp:222
int convertCase(OMEthread *thread, OMEtype &result, const OMEtype &, const OMEtype &)
Definition: OILtypeFuncs.cpp:780
uint32_t mergeBits(uint32_t source, int srcOffset, int srcLen, uint32_t original, int destOffset) OME_CONST_FUNCTION
Definition: OILbits.cpp:80
int cosine(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:10
uint32_t ui
Definition: OMEbaseType.h:286
int rfc1123Date(OMEthread *thread, OMEtype &result, const OMEtype &argData)
Definition: OILtime.cpp:103
int decryptCipherID
Definition: OMEapi.h:32
int precomputedCosine(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:548
int timeDifference(OMEthread *thread, OMEtype &result, const OMEtype &time1, const OMEtype &time2)
Definition: OILtime.cpp:131
int listDirectory(OMEthread *thread, OMEtype &result, const OMEtype &dirName)
Definition: OILio.cpp:933
size_t length() const
Definition: OMEstring.h:401
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_FAST_CALL void OMEconvertString(OMEtype &result, OMEstring *source, const uint_fast16_t forceBase=10, const bool discard=false)
Converts text strings into numeric values.
Definition: utils.cpp:24
int precomputedSine(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:533
int indexExists(OMEthread *thread, OMEtype &result, const OMEtype &array, const OMEtype &subscript)
Definition: OILtypeFuncs.cpp:369
int hyperbolicSine(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:187
#define DEFINE_NLM_MESSAGE(Lvl, MessID, AppName)
Define an Native Language Message.
Definition: OMEdebugInfo.h:318
OMEthisProcessInfo OMEcurrentProcessInfo
Automatic instantiation of OMEthisProcessInfo. When properly linked, the C++ static constructor mecha...
Definition: OMEprocInfo.cpp:217
int substituteEnvironmentVariables(OMEthread *thread, OMEtype &result, const OMEtype &line, const OMEtype &extraVariables)
Definition: OILtypeFuncs.cpp:682
const char srcID[] OME_USED
Definition: tick_time.cpp:24
int flags
Definition: ethers.c:41
int convertURIescapes(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmimeDecode.cpp:14
uint32_t classHashIndex
Definition: OMEoid.h:30
int alwaysAllow(OMEthread *thread, OMEtype &result, const OMEtype &methodName)
Definition: OILallow.cpp:20
STREAMTYPE & outputOnStreamAsHex(STREAMTYPE &outputStream, int_fast16_t indent=0, bool dense=false) const
Output the contents of an OMEstring object to an output stream as a collection of hexadecimal charact...
Definition: OMEstring.h:564
int midstr(OMEthread *thread, OMEtype &result, const OMEtype &src, const OMEtype &start, const OMEtype &len)
Definition: OILtypeFuncs.cpp:31
OMEtype remoteOID
Definition: OMEapi.h:27
OMEconnection(const OMEoid &objId, const OMEstring &destination, const OMEtype &authentication)
Definition: OMEapi.cpp:47
Subclass of OMEobject that provides access to a local object.
Definition: OMEobject.h:135
establishes and maintains a connection with a FARGOS/VISTA Object Management Environment.
Definition: OMEapi.h:20
int orderSubscripts(OMEthread *thread, OMEtype &result, const OMEtype &arg, const OMEtype &mode)
Definition: OILtypeFuncs.cpp:746
uint_fast32_t elementCount() const OME_ALWAYS_INLINE
Definition: OMEarray.h:247
int findLastSubstring(OMEthread *thread, OMEtype &result, const OMEtype &source, const OMEtype &substring)
Definition: OILtypeFuncs.cpp:245
void OMEaddEventToQueue(OMEevent *event)
Definition: OMEevent.cpp:43
int initializeCipher(OMEthread *thread, OMEtype &result, const OMEtype &secret, const OMEtype &dir, const OMEtype &initVec)
Definition: OILcrypto.cpp:103
int tokenizeString(OMEthread *thread, OMEtype &result, const OMEtype &src, const OMEtype &delimString, const OMEtype &convFlag)
Definition: OILtypeFuncs.cpp:286
OME_FAST_CALL int subscriptsInOrder(OMEtype &result, const OMEtype &list, uint_fast8_t descending=OME_FLAG_SORT_ASCENDING)
Examines an array (either sparse or associative) and returns a list of subscripts that allow the elem...
Definition: utils.cpp:333
#define OME_CONST_FUNCTION
Mark as an idempotent function that only accesses arguments – no global data.
Definition: compiler_hints.h:390
int hyperbolicTangent(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:208
int allow(OMEthread *thread, OMEtype &result, const OMEtype &methodName)
Definition: OILallow.cpp:5
static constexpr bool is32BitInteger(uint32_t t) OME_CONST_FUNCTION
Definition: OMEbaseType.h:92
void getUniqueReference() OME_ALWAYS_INLINE
Definition: OMEbaseType.h:460
OMEentityID birthplace
Definition: OMEoid.h:31
int OMEfreeCipher(int useCipher)
Definition: aesCover.cpp:56
int calculateStringLength(OMEthread *thread, OMEtype &result, const OMEtype &args)
Definition: OILdebug.cpp:388
OMEstring * OMEgetUserName()
Return the name of the user associated with the process.
Definition: OMEprocInfo.cpp:285
int findLastSubstringBefore(OMEthread *thread, OMEtype &result, const OMEtype &source, const OMEtype &substring, const OMEtype &offset)
Definition: OILtypeFuncs.cpp:263
int snmpSend(OMEthread *thread, OMEtype &result, const OMEtype &sessionID, const OMEtype &pdu)
Definition: OILsnmp.cpp:54
@ OME_SET
Definition: OMEmanifests.h:89
#define NEXT_NLM_PARAM
Define value for next positional parameter.
Definition: OMEdebugInfo.h:337
bool isEmpty() const OME_ALWAYS_INLINE
Definition: OMEarray.h:252
#define ntohl(x)
Definition: tmp.o.cpp:3101
int establishConnection(OMEtype &authentication)
Definition: OMEapi.cpp:748
Record to define the implementation of an OIL2 function.
Definition: OMEthread.h:287
int decodeMIMEdata(OMEthread *thread, OMEtype &result, const OMEtype &mimeTypeName, const OMEtype &data)
Definition: OILmimeDecode.cpp:467
uint64_t ioHandle
Definition: OMEioObjects.h:36
OMEentityID id
Definition: OMEprocInfo.h:68
void OMEendCriticalSection(eOMEcriticalSectionLabel regionID)
Definition: OMEmutex.cpp:236
int OMEtransportToSockaddr(sockBigEnough *sock, uint_fast16_t *sockLen, int *sockMode, const char *url, uint_fast16_t urlLen)
Convert textual transport address into sockaddr structure.
Definition: OMEaddr.cpp:702
int errno
Definition: ethers.c:41
int skipAndOutputSetToStreamAsHex(STREAMTYPE &s, OMEset &args, int skipCount=0, int dense=0)
Definition: OILdebug.cpp:61
void releaseSNMPsession(uint32_t sessionID)
Definition: OILsnmp.cpp:23
#define OME_EXPECT_FALSE(expr)
Annotation macro for conditional expression expected to be false.
Definition: compiler_hints.h:540
int removeDirectory(OMEthread *thread, OMEtype &result, const OMEtype &fileName)
Definition: OILio.cpp:853
ARRAY_SUBSCRIPT_t nextIndex(const uint32_t currentSubscript) const
Definition: OMEarray.h:217
int establishConnection()
Definition: OMEapi.cpp:533
int parsePathComponents(OMEthread *thread, OMEtype &result, const OMEtype &path)
Definition: OILhttpFuncs.cpp:133
#define _SEND_TO_PEER(v)
Definition: OMEapi.cpp:37
int snmpGetResponse(OMEthread *thread, OMEtype &result)
Definition: OILsnmp.cpp:61
struct snmp_session * getSNMPsession(const uint32_t sessionID, const bool deleteToo)
Definition: OILsnmp.cpp:18
virtual int writeVectorOfBytes(const OMEioVector *v, uint_fast16_t elementCount, size_t *actualBytes, int *errRet, size_t skipBytes=0)
Definition: OMEioObjects.cpp:154
OMEstring destination
Definition: OMEapi.h:23
STREAMTYPE & outputOnStream(STREAMTYPE &outputOnStream, int_fast16_t indent=0, uint8_t includeTypePrefix=OUTPUT_TYPENAME) const
Definition: OMEoutputOnStream.h:311
ssize_t lastSubstr(const OMEstring &sub, size_t startOffset=~static_cast< size_t >(0)) const
Definition: OMEstring.h:495
int makeDirectory(OMEthread *thread, OMEtype &result, const OMEtype &dirName)
Definition: OILio.cpp:909
int encryptMessage(OMEthread *thread, OMEtype &result, const OMEtype &cipherData, const OMEtype &message)
Definition: OILcrypto.cpp:151
int highBit(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILbits.cpp:33
@ OME_UINT8
Definition: OMEmanifests.h:99
#define ARG_IS_INT32(x)
Definition: OILio.cpp:35
#define OME_FAST_CALL
Definition: compiler_hints.h:468
int decodeFirstElement(OMEthread *thread, OMEtype &result, const OMEtype &data)
Definition: OILencode.cpp:79
OMEtype * OMEgetSigningFile(const OMEstring &secret, const OMEstring &logicalDomain, bool isPublic=false)
Definition: OMElicense.cpp:648
Base class for events within the FARGOS/VISTA Object Management Environment.
Definition: OMEevent.h:22
int elementCount(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILtypeFuncs.cpp:168
OME_DLL_EXPORT void INIT_DECLARE_OILbits()
Definition: OILbits.cpp:264
int getErrorStatus(OMEthread *thread, OMEtype &result, const OMEtype &ioID)
Definition: OILio.cpp:623
int receiveMessage(OMEtype &result, int *errRet=nullptr)
Definition: OMEapi.cpp:688
int getIOhandle(OMEthread *thread, OMEtype &result, const OMEtype &ioID)
Definition: OILio.cpp:135
static constexpr bool isContainer(uint32_t t) OME_CONST_FUNCTION
Definition: OMEbaseType.h:109
#define OMEdebugEvents
Definition: OMEdebugInfo.h:23
OMEstring * printableCopy() const
Definition: OMEstring.cpp:751
char * malloc(unsigned int bytes)
Definition: test_malloc.c:441
#define _STD
Definition: OMEmanifests.h:146
OMEtype * nextElement()
Iterate over a set by retrieving the next element.
Definition: OMEset.cpp:280
OME debug and profiling interfaces.
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
int mergeArrays(OMEthread *thread, OMEtype &result, const OMEtype &args)
Definition: OILtypeFuncs.cpp:476
int convertLocalRelativeTimeToAbsolute(OMEthread *thread, OMEtype &result, const OMEtype &tArg, const OMEtype &asGMT)
Definition: OILtime.cpp:55
#define OME_DLL_EXPORT
Definition: compiler_hints.h:464
OMEstring * OMEbinaryToBase64(const OMEstring &source, bool breakIntoLines)
Convert binary data to base64 text encoding.
Definition: OMEbase64.cpp:112
Implements sparse array of OMEtype elements.
Definition: OMEarray.h:75
Public interface to an OME thread.
Definition: OMEthread.h:60
#define OME_IO_DATAGRAM
Definition: OMEmanifests.h:131
#define LOG_ENDLINE
Closing clause for text line output using << operators.
Definition: logging_api.hpp:2956
Public interface to an OME Object Identifier.
Definition: OMEoid.h:196
int getkerninfo(int, void *, int *, int32long64_t)
void setAsPreemptable()
Definition: OMEthread.cpp:450
@ OME_ANY
Definition: OMEmanifests.h:93
static OMEassoc * makeACL(const OMEstring &userName)
Definition: OMEapi.cpp:718
OMEstring * OMEmakeRandomKey(int32_t bits=1024)
Generate a random sequence of bits.
Definition: pkRoutines.cpp:46
int encodeVersion
Definition: OMEapi.h:29
uint32_t type
Definition: OMEbaseType.h:304
@ OME_DEFAULT_COMPLEX_OUTPUT_MODE
Definition: OMEmanifests.h:116
#define OME_IO_CONNECT
Definition: OMEmanifests.h:125
int getSystemInfoAttribute(OMEthread *thread, OMEtype &result, const OMEtype &attrName)
Definition: OILtime.cpp:39
int parseMIMEheaderLines(OMEthread *thread, OMEtype &result, const OMEtype &data)
Definition: OILmimeDecode.cpp:214
int decodeMultiPart(OMEthread *thread, OMEtype &result, const OMEtype &mimeTypeName, const OMEtype &data)
Definition: OILmimeDecode.cpp:382
#define OME_IO_LISTEN
Definition: OMEmanifests.h:124
int getHandle() const
Definition: OMEapi.h:220
OMEtype * decodeData(const OMEstring &data)
Definition: OMEapi.cpp:109
STREAMTYPE & outputOnStream(STREAMTYPE &outputStream, int_fast16_t indent=0, uint8_t includeTypePrefix=0) const
Output an OMEstring to an output stream.
Definition: OMEstring.h:547
bool isEmpty() const
Definition: OMEnlm.h:217
int SHA1hash(OMEthread *thread, OMEtype &result, const OMEtype &message)
Definition: OILcrypto.cpp:9
int createNLM(OMEthread *thread, OMEtype &result, const OMEtype &catName, const OMEtype &messID, const OMEtype &defaultMess, const OMEtype &args, const OMEtype &extras)
Definition: OILtypeFuncs.cpp:810
int parseStringIntoSSIelements(OMEthread *thread, OMEtype &result, const OMEtype &data)
Definition: OILhttpFuncs.cpp:336
int isEmpty(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILtypeFuncs.cpp:186
int substituteText(OMEthread *thread, OMEtype &result, const OMEtype &data, const OMEtype &replacements)
Definition: OILtypeFuncs.cpp:664
int displayAsHex(OMEthread *thread, OMEtype &result, const OMEtype &args)
Definition: OILdebug.cpp:260
int convertCase(OMEthread *thread, OMEtype &result, const OMEtype &arg, const OMEtype &toLower)
Definition: OILtypeFuncs.cpp:780
void free(char *block)
Definition: test_malloc.c:553
Interface to an external OME object.
Definition: OMEoid.h:415
uint32_t instanceIndex
Definition: OMEoid.h:28
int length(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILtypeFuncs.cpp:19
OME_DLL_EXPORT int OMEtimeDifference(const OMEtype &time1, const OMEtype &time2)
Compute difference between two OME absolute time references.
Definition: OMEtime.cpp:529
uint_fast32_t elementCount() const OME_ALWAYS_INLINE
Definition: OMEassoc.h:241
int tangent(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:52
OMEstring * OMEbinaryToHex(const unsigned char *srcBfr, size_t srcLen)
Convert binary data to hexadecimal characters.
Definition: OMEbase64.cpp:252
int absoluteValue(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILmath.cpp:386
@ OME_ARRAY
Definition: OMEmanifests.h:86
#define OME_ssize_t
Definition: OMEmanifests.h:18
OMEarrayStorage::ARRAY_SUBSCRIPT_t ARRAY_SUBSCRIPT_t
Definition: OMEarray.h:90
int caseInsensitiveCompare(const OMEstring &str1, const OMEstring &str2, bool fuzzy=false)
Definition: utils.cpp:447
class OMEassoc * assoc
Definition: OMEbaseType.h:296
#define OMEtype
Definition: tmp.o.cpp:396
void resetIterator()
Reset the internal iterator to the beginning of the list.
Definition: OMEset.cpp:264
class OMEset * set
Definition: OMEbaseType.h:298
OMEstring * convertCaseOfString(const OMEstring &str, uint_fast8_t toLower=0)
Definition: utils.cpp:411
int receiveDatagram(OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &bufferSize)
Definition: OILio.cpp:296
#define AND_OUTPUT_NLM(o, t)
Render NLM data to an output stream.
Definition: OMEdebugInfo.h:327
int getApplicationVariable(OMEthread *thread, OMEtype &result, const OMEtype &varName, const OMEtype &extraVars)
Definition: OILtypeFuncs.cpp:620
#define OUR_sockaddr_in6
Definition: OMEaddr.cpp:95
int SNMPerror(OMEthread *thread, OMEtype &result)
Definition: OILsnmp.cpp:67
uint_fast32_t elementCount() const
Definition: OMEnlm.h:212
#define htonl(x)
Definition: tmp.o.cpp:3098
bool OMEcheckResourceAccess(OMEthread *thread, const OMEstring &resourceName)
Definition: OMEobjACL.cpp:475
OMEtype threadErrorCode
Definition: OMEthread.h:81
int forceToASCII(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OILtypeFuncs.cpp:113
Base class for open files and sockets.
Definition: OMEioObjects.h:26
LogManager * getLogManager() const OME_ALWAYS_INLINE
Definition: logging_api.hpp:1244
int convertRFC1123date(OMEthread *thread, OMEtype &result, const OMEtype &timeString)
Definition: OILtime.cpp:121
bool deleteIndex(const ASSOC_HASH_KEY_t i)
Definition: OMEassoc.h:203
int gzipString(OMEthread *thread, OMEtype &result, const OMEtype &data)
Definition: OILencode.cpp:136
Fundamental elements of an OME object identifier.
Definition: OMEoid.h:27
int getRemoteHostKey(OMEthread *thread, OMEtype &result, const OMEtype &rmtHostName, const OMEtype &logicalDomain)
Definition: OILcrypto.cpp:288
OMEassoc defaultContext
Definition: OMEapi.h:89
OMEstring * OMEconvertURIescapes(const OMEstring &arg)
Convert Uniform Resource Identifier escape sequences.
Definition: OMEbase64.cpp:314
const class OMEobject * getInstanceInMemory() const
Return object information record.
Definition: OMEoid.h:280
const unsigned char OMEhexDigits[]
Definition: OMEstring.cpp:19
int writeVectorOfBytes(OMEthread *thread, OMEtype &result, const OMEtype &ioID, const OMEtype &skipOffset, const OMEtype &dataToSend)
Definition: OILio.cpp:409
@ OME_ASSOC
Definition: OMEmanifests.h:87
#define ARG_IS_INT(x)
Definition: OILtypeFuncs.cpp:13
int main(int argc, const char *argv[])
Definition: tick_test.cpp:5
int fd
Definition: ethers.c:41
OMEstring * OMEmakeSafeURI(const OMEstring &arg)
Escape any special characters in an Uniform Resource Identifier.
Definition: OMEbase64.cpp:366
int debugDisplayAsHex(OMEthread *thread, OMEtype &result, const OMEtype &args)
Definition: OILdebug.cpp:269
OME_DLL_EXPORT void INIT_DECLARE_oilXMLfuncs()
Definition: OILxmlParse.cpp:251
int64_t OMErelativeMilliseconds()
Return a monotonically-increasing count of elapsed milliseconds.
Definition: OMEprocInfo.cpp:59
virtual int readBytes(unsigned char *bfr, size_t bytes, size_t *actualBytes, int *errRet)=0
@ OME_INIT_VEC_LEN_IN_BITS
Definition: OMEcrypto.h:13
@ OME_INT32
Definition: OMEmanifests.h:79
int unlinkFile(OMEthread *thread, OMEtype &result, const OMEtype &fileName)
Definition: OILio.cpp:829
@ OME_INT64
Definition: OMEmanifests.h:81
#define LOG_CERR(lvl)
Convenience macro that uses LOG_INTO() to conditionally log a message to standard error.
Definition: logging_api.hpp:3014
static OMEassoc * getCounters()
Get a snapshot of all counters.
Definition: OMEdebugInfo.cpp:337