Loading src/utility/main.c +16 −0 Original line number Diff line number Diff line Loading @@ -141,6 +141,22 @@ KineticStatus ExecuteOperation( } } else if (strcmp("getnext", operation) == 0) { status = KineticClient_GetNext(sessionHandle, entry, NULL); if (status == 0) { printf("\nGetNext executed successfully." "The entry has been retrieved!\n\n"); } } else if (strcmp("getprevious", operation) == 0) { status = KineticClient_GetPrevious(sessionHandle, entry, NULL); if (status == 0) { printf("\nGetPrevious executed successfully." "The entry has been retrieved!\n\n"); } } else { printf("\nSpecified operation '%s' is invalid!\n\n", operation); return -1; Loading Loading
src/utility/main.c +16 −0 Original line number Diff line number Diff line Loading @@ -141,6 +141,22 @@ KineticStatus ExecuteOperation( } } else if (strcmp("getnext", operation) == 0) { status = KineticClient_GetNext(sessionHandle, entry, NULL); if (status == 0) { printf("\nGetNext executed successfully." "The entry has been retrieved!\n\n"); } } else if (strcmp("getprevious", operation) == 0) { status = KineticClient_GetPrevious(sessionHandle, entry, NULL); if (status == 0) { printf("\nGetPrevious executed successfully." "The entry has been retrieved!\n\n"); } } else { printf("\nSpecified operation '%s' is invalid!\n\n", operation); return -1; Loading