52 typedef int socklen_t;
127 if (source == NULL) {
137 const char *stemName =
context->ObjectToStringValue(source);
138 const char *dotPos = strchr(stemName,
'.');
141 if (dotPos == NULL || dotPos == (stemName + strlen(stemName) - 1))
147 prefix = strdup(dotPos + 1);
156 while (*scanner !=
'\0')
158 *scanner = toupper(*scanner);
190 snprintf(fullName,
sizeof fullName,
"%s%s",
prefix, name);
210 snprintf(fullName,
sizeof fullName,
"%s.%d",
prefix, (
int)index);
231 snprintf(fullName,
sizeof fullName,
"%s%s",
prefix, name);
245 snprintf(fullName,
sizeof fullName,
"%s.%d",
prefix, (
int)index);
RexxCallContext * context
StemManager(RexxCallContext *c)
RexxObjectPtr getValue(const char *name)
bool resolveStem(RexxObjectPtr source)
void setValue(size_t index, RexxObjectPtr value)
void setValue(const char *name, RexxObjectPtr value)
RexxObjectPtr getValue(size_t index)
struct _RexxStringObject * RexxStringObject
struct _RexxObjectPtr * RexxObjectPtr
struct _RexxStemObject * RexxStemObject
void setErrno(RexxCallContext *context, bool noError)
void intArrayToStem(RexxCallContext *context, RexxObjectPtr stem, int count, int *arr)
void stemToIntArray(RexxCallContext *context, RexxObjectPtr stem, int &count, int *&arr)
struct sockaddr_in sockaddr_in
int stringToSockOpt(const char *pszOptName)
void stemToSockAddr(RexxCallContext *context, StemManager &stem, sockaddr_in *pSockAddr)
void hostEntToStem(RexxCallContext *context, struct hostent *pHostEnt, StemManager &stem)
void sockAddrToStem(RexxCallContext *context, sockaddr_in *pSockAddr, StemManager &stem)
int caselessCompare(const char *op1, const char *op2)
void stripBlanks(char *string)