Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] Cross memory server name is 72 chars now #514

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions h/crossmemory.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
This program and the accompanying materials are
made available under the terms of the Eclipse Public License v2.0 which accompanies
this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html

SPDX-License-Identifier: EPL-2.0

Copyright Contributors to the Zowe Project.
*/

Expand Down Expand Up @@ -147,12 +147,15 @@
#define RC_CMS_MODREG_FAILED 96
#define RC_CMS_MAX_RC 96

#define CMS_CONFIG_PARM_MAX_NAME_LENGTH 72
#define CMS_CONFIG_PARM_MAX_VALUE_SIZE 128

extern const char *CMS_RC_DESCRIPTION[];

ZOWE_PRAGMA_PACK

typedef struct CrossMemoryServerName_tag {
char nameSpacePadded[16];
char nameSpacePadded[CMS_CONFIG_PARM_MAX_NAME_LENGTH];
} CrossMemoryServerName;

#ifndef __LONGNAME__
Expand Down Expand Up @@ -387,9 +390,6 @@ typedef enum CrossMemoryServerParmType_tag {
} CrossMemoryServerParmType;
#pragma enum(reset)

#define CMS_CONFIG_PARM_MAX_NAME_LENGTH 72
#define CMS_CONFIG_PARM_MAX_VALUE_SIZE 128

typedef struct CrossMemoryServerConfigParm_tag {
char eyecatcher[8];
#define CMS_PARM_EYECATCHER "RSCMSCFG"
Expand Down Expand Up @@ -538,7 +538,7 @@ int cmsCallService3(CrossMemoryServerGlobalArea *cmsGlobalArea,
*/
int cmsPrintf(const CrossMemoryServerName *serverName, const char *formatString, ...);

/*
/*
@brief the var-args version of cmsPrintf, see above
*/
int vcmsPrintf(const CrossMemoryServerName *serverName, const char *formatString, va_list argPointer);
Expand Down Expand Up @@ -1184,9 +1184,9 @@ typedef struct CMSDynlinkEnv_tag {
This program and the accompanying materials are
made available under the terms of the Eclipse Public License v2.0 which accompanies
this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html

SPDX-License-Identifier: EPL-2.0

Copyright Contributors to the Zowe Project.
*/

Loading