Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
sakshibobade21 committed Aug 5, 2023
1 parent 60052a3 commit ebbb012
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions c/crossViewCopy.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@

#include "socketmgmt.h"
#include "httpserver.h"
#include "crossViewCopy.h"
#include "datasetjson.h"
#include "datasetService.h"
#include "unixFileService.h"
#include "crossViewCopy.h"
#include "pdsutil.h"
#include "jcsi.h"
#include "impersonation.h"
Expand Down
1 change: 0 additions & 1 deletion c/datasetjson.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ 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;
Expand Down
2 changes: 1 addition & 1 deletion h/datasetjson.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ typedef struct StatefulACB_tag {
} argPtr;
} StatefulACB;

void extractDatasetAndMemberName(const char *datasetPath, DatasetName *dsn, DatasetMemberName *memberName);
int streamDataset(char *filename, int recordLength, jsonPrinter *jPrinter);
int streamVSAMDataset(HttpResponse* response, char *acb, int maxRecordLength, int maxRecords, int maxBytes, int keyLoc, int keyLen, jsonPrinter *jPrinter);
void addDetailedDatasetMetadata(char *datasetName, int nameLength,
Expand All @@ -75,7 +76,6 @@ char getCSIType(char* absolutePath);
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 /* __DATASETJSON__ */

Expand Down

0 comments on commit ebbb012

Please sign in to comment.