MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / GetFacilities

Function GetFacilities

source/syslog.cpp:86–93  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

84}
85//---------------------------------------------------------------------------
86void GetFacilities(TStrings * s)
87{
88 s->BeginUpdate();
89 s->Clear();
90 for(int fac=0; fac<LOG_NFACILITIES; fac++)
91 s->AddObject(getcodetext(fac<<3, facilitynames), (TObject *)fac);
92 s->EndUpdate();
93}
94//---------------------------------------------------------------------------
95#pragma package(smart_init)

Callers 1

TFrameFunction · 0.85

Calls 2

getcodetextFunction · 0.85
ClearMethod · 0.45

Tested by

no test coverage detected