#include "rexx.h"
#include "LocalAPIManager.hpp"
#include "LocalQueueManager.hpp"
#include "LocalAPIContext.hpp"
#include "RexxAPI.h"
#include "RexxInternalApis.h"
Go to the source code of this file.
Macros | |
#define | INTERNALNAME_MINIMUM ((sizeof(void *) * 4) + 3) |
Functions | |
RexxReturnCode RexxEntry | RexxCreateQueue (char *name, size_t size, const char *userRequested, size_t *pdup) |
RexxReturnCode RexxEntry | RexxOpenQueue (const char *name, size_t *pdup) |
RexxReturnCode RexxEntry | RexxQueueExists (const char *name) |
RexxReturnCode RexxEntry | RexxDeleteQueue (const char *name) |
RexxReturnCode RexxEntry | RexxClearQueue (const char *name) |
RexxReturnCode RexxEntry | RexxQueryQueue (const char *name, size_t *count) |
RexxReturnCode RexxEntry | RexxAddQueue (const char *name, PCONSTRXSTRING data, size_t flag) |
RexxReturnCode RexxEntry | RexxPullFromQueue (const char *name, RXSTRING *data_buf, RexxQueueTime *time, size_t waitflag) |
RexxReturnCode RexxEntry | RexxDeleteSessionQueue () |
RexxReturnCode RexxEntry | RexxCreateSessionQueue () |
#define INTERNALNAME_MINIMUM ((sizeof(void *) * 4) + 3) |
Definition at line 47 of file QueuesAPI.cpp.
RexxReturnCode RexxEntry RexxAddQueue | ( | const char * | name, |
PCONSTRXSTRING | data, | ||
size_t | flag | ||
) |
Definition at line 269 of file QueuesAPI.cpp.
References ENTER_REXX_API, EXIT_REXX_API, QueueManager, RXQUEUE_BADWAITFLAG, RXQUEUE_FIFO, and RXQUEUE_LIFO.
RexxReturnCode RexxEntry RexxClearQueue | ( | const char * | name | ) |
Definition at line 200 of file QueuesAPI.cpp.
References ENTER_REXX_API, EXIT_REXX_API, and QueueManager.
RexxReturnCode RexxEntry RexxCreateQueue | ( | char * | name, |
size_t | size, | ||
const char * | userRequested, | ||
size_t * | pdup | ||
) |
Definition at line 98 of file QueuesAPI.cpp.
References ENTER_REXX_API, EXIT_REXX_API, MEMORY_ERROR, and QueueManager.
RexxReturnCode RexxEntry RexxCreateSessionQueue | ( | ) |
Initialize the API subsystem at process startup.
Definition at line 366 of file QueuesAPI.cpp.
References ENTER_REXX_API, EXIT_REXX_API, and QueueManager.
Referenced by Interpreter::startInterpreter().
RexxReturnCode RexxEntry RexxDeleteQueue | ( | const char * | name | ) |
Definition at line 176 of file QueuesAPI.cpp.
References ENTER_REXX_API, EXIT_REXX_API, and QueueManager.
RexxReturnCode RexxEntry RexxDeleteSessionQueue | ( | ) |
Definition at line 353 of file QueuesAPI.cpp.
References RXQUEUE_OK, and LocalAPIManager::shutdownInstance().
Referenced by Interpreter::terminateInterpreter().
RexxReturnCode RexxEntry RexxOpenQueue | ( | const char * | name, |
size_t * | pdup | ||
) |
Get access to a named queue, creating it if necessary.
name | The name of the desired queue. |
pdup | A flag indicating whether the queue already existed. |
Definition at line 131 of file QueuesAPI.cpp.
References ENTER_REXX_API, EXIT_REXX_API, and QueueManager.
RexxReturnCode RexxEntry RexxPullFromQueue | ( | const char * | name, |
RXSTRING * | data_buf, | ||
RexxQueueTime * | time, | ||
size_t | waitflag | ||
) |
Definition at line 322 of file QueuesAPI.cpp.
References ENTER_REXX_API, EXIT_REXX_API, QueueManager, RXQUEUE_BADWAITFLAG, RXQUEUE_NOWAIT, and RXQUEUE_WAIT.
RexxReturnCode RexxEntry RexxQueryQueue | ( | const char * | name, |
size_t * | count | ||
) |
Definition at line 232 of file QueuesAPI.cpp.
References ENTER_REXX_API, EXIT_REXX_API, and QueueManager.
RexxReturnCode RexxEntry RexxQueueExists | ( | const char * | name | ) |
Check to see if a given named queue exists
name | The name of the desired queue. |
Definition at line 149 of file QueuesAPI.cpp.
References ENTER_REXX_API, EXIT_REXX_API, and QueueManager.