X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2FE2AP-c%2Fsubscription%2Fsubscription_helper.hpp;fp=src%2FE2AP-c%2Fsubscription%2Fsubscription_helper.hpp;h=80bfb5c06ef91424d32d6e234133da2276257809;hb=69a830676cee9b8a37bea3b2e59261514551be23;hp=433f0ca2a7d2c74acb9128814b664a62330aac22;hpb=4e545a8b013e60f2ff59254cb3fe435012d8fe5a;p=ric-app%2Fadmin.git diff --git a/src/E2AP-c/subscription/subscription_helper.hpp b/src/E2AP-c/subscription/subscription_helper.hpp index 433f0ca..80bfb5c 100644 --- a/src/E2AP-c/subscription/subscription_helper.hpp +++ b/src/E2AP-c/subscription/subscription_helper.hpp @@ -36,11 +36,14 @@ #include #include + +// Note : if no action definition specified, octet length of action definition is NULL +// If no subsequent action specified, default is subsequent_action = 0, time to wait is 0 struct Action { public: - Action(int id, int type): _is_def(false), _is_subs_act(false), _id(id), _type(type){}; + Action(int id, int type): _is_def(false), _is_subs_act(false), _id(id), _type(type), _next_action(0), _wait(0){}; Action(int id, int type, const void *def, size_t def_size, int next, int wait): _is_def(false), _is_subs_act(false), _id(id), _type(type){ if (def_size > 0){