From 60052a317144567ef6fb50acbc577823a931e3eb Mon Sep 17 00:00:00 2001 From: Sakshi Bobade Date: Sat, 5 Aug 2023 15:10:25 +0530 Subject: [PATCH] Bugfic --- c/datasetjson.c | 1 + h/datasetjson.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/c/datasetjson.c b/c/datasetjson.c index a8f25e4d..72d1c7d0 100644 --- a/c/datasetjson.c +++ b/c/datasetjson.c @@ -121,6 +121,7 @@ static bool memberExists(char* dsName, DynallocMemberName daMemberName); static int getDSCB(DatasetName *dsName, char* dscb, int bufferSize); static int setDatasetAttributesForCreation(JsonObject *object, int *configsCount, TextUnit **inputTextUnit); int createDataset(HttpResponse* response, char* absolutePath, char* datasetAttributes, int translationLength, int* reasonCode); +void extractDatasetAndMemberName(const char *datasetPath, DatasetName *dsn, DatasetMemberName *memberName); static int getLreclOrRespondError(HttpResponse *response, const DatasetName *dsn, const char *ddPath) { int lrecl = 0; diff --git a/h/datasetjson.h b/h/datasetjson.h index 1260cd7d..e5e8acb4 100644 --- a/h/datasetjson.h +++ b/h/datasetjson.h @@ -76,7 +76,8 @@ bool isVsam(char CSIType); int checkIfDatasetExistsAndRespond(HttpResponse* response, char* dataset, bool isMember); bool isDatasetPathValid(const char *path); void extractDatasetAndMemberName(const char *datasetPath, DatasetName *dsn, DatasetMemberName *memberName); -#endif + +#endif /* __DATASETJSON__ */ /*