Skip to content

Commit

Permalink
Comments added for i/p file format
Browse files Browse the repository at this point in the history
  • Loading branch information
renukamanavalan committed Jun 17, 2022
1 parent fcc00ef commit fea1de6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/sonic-eventd/tools/events_tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
#include "events.h"
#include "events_common.h"

/*
* Sample i/p file contents for send
*
* {"src_0:key-0": {"foo": "bar", "hello": "world" }}
* {"src_0:key-1": {"foo": "barXX", "hello": "world" }}
*
* Repeat the above line to increase entries.
* Each line is parsed independently, so no "," expected at the end.
*/

#define ASSERT(res, m, ...) \
if (!(res)) {\
int _e = errno; \
Expand Down

0 comments on commit fea1de6

Please sign in to comment.