MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / json_add_time

Function json_add_time

src/multicast.c:207–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207void json_add_time(char *msg, int addComma)
208{
209 char mydate[256];
210 date_strget(mydate, sizeof(mydate), 0);
211
212
213 strcat(msg, "\"Time\": \"");
214 strcat(msg, mydate);
215 strcat(msg, "\"");
216
217 if (addComma)
218 {
219 strcat(msg, ",\n");
220 }
221}
222
223void json_add_vfoA(RIG *rig, char *msg)
224{

Callers 1

multicast_send_jsonFunction · 0.85

Calls 1

date_strgetFunction · 0.85

Tested by

no test coverage detected