X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=redismodule%2Ftst%2Fmock%2Finclude%2FexstringsStub.h;h=49e1f4836c444bb4a1cd7f68a3a57b87d4e3bd38;hb=4ee7adebe245a8b294c771b20d5fb494707312a5;hp=4ce6a0f090fb9cd88dabb22eaa37c497d11b976b;hpb=b4541ef7f603a11641759233caf1ef502ecf53d6;p=ric-plt%2Fdbaas.git diff --git a/redismodule/tst/mock/include/exstringsStub.h b/redismodule/tst/mock/include/exstringsStub.h index 4ce6a0f..49e1f48 100755 --- a/redismodule/tst/mock/include/exstringsStub.h +++ b/redismodule/tst/mock/include/exstringsStub.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2019 Nokia. + * Copyright (c) 2018-2020 Nokia. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,16 +14,16 @@ * limitations under the License. */ +/* + * This source code is part of the near-RT RIC (RAN Intelligent Controller) + * platform project (RICP). + */ + #ifndef EXSTRINGSTUB_H_ #define EXSTRINGSTUB_H_ #include "redismodule.h" -#include -#include -#include -#include -#include "../../../../redismodule/tst/mock/include/redismodule.h" int setStringGenericCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc, const int flag); int SetIE_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); @@ -33,16 +33,21 @@ int delStringGenericCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int a int DelIE_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); int DelNE_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); int SetPub_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); +int SetMPub_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); int SetIEPub_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); +int SetIEMPub_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); int SetNEPub_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); int SetNXPub_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); +int SetNXMPub_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); int SetXXPub_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); int DelPub_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); +int DelMPub_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); int DelIEPub_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); +int DelIEMPub_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); int DelNEPub_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); -int NGet_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); -int NDel_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); -int delPubStringGenericCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc, const int flag); - +int NDel_Atomic_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); +int NGet_Atomic_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); +int NGet_NoAtomic_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc); +void *NGet_NoAtomic_ThreadMain(void *arg); #endif