libvirt/po
Daniel P. Berrange 3ec1289896 Add internal APIs for dealing with time
The logging APIs need to be able to generate formatted timestamps
using only async signal safe functions. This rules out using
gmtime/localtime/malloc/gettimeday(!) and much more.

Introduce a new internal API which is async signal safe.

  virTimeMillisNowRaw replacement for gettimeofday. Uses clock_gettime
                      where available, otherwise falls back to the unsafe
                      gettimeofday

  virTimeFieldsNowRaw  replacements for gmtime(), convert a timestamp
  virTimeFieldsThenRaw into a broken out set of fields. No localtime()
                       replacement is provided, because converting to
                       local time is not practical with only async signal
                       safe APIs.

  virTimeStringNowRaw  replacements for strftime() which print a timestamp
  virTimeStringThenRaw into a string, using a pre-determined format, with
                       a fixed size buffer (VIR_TIME_STRING_BUFLEN)

For each of these there is also a version without the Raw postfix
which raises a full libvirt error. These versions are not async
signal safe

* src/Makefile.am, src/util/virtime.c, src/util/virtime.h: New files
* src/libvirt_private.syms: New APis
* configure.ac: Check for clock_gettime in -lrt
* tests/virtimetest.c, tests/Makefile.am: Test new APIs
2011-11-30 11:43:49 +00:00
..
af.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
am.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
ar.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
as.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
be.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
bg.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
bn_IN.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
bn.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
bs.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
ca.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
cs.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
cy.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
da.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
de.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
el.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
en_GB.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
es.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
et.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
eu_ES.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
fa.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
fi.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
fr.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
gl.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
gu.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
he.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
hi.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
hr.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
hu.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
hy.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
id.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
is.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
it.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
ja.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
ka.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
kn.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
ko.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
ku.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
libvirt.pot Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
lo.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
lt.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
lv.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
mk.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
ml.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
mr.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
ms.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
my.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
nb.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
nl.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
nn.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
nso.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
or.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
pa.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
pl.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
POTFILES.in Add internal APIs for dealing with time 2011-11-30 11:43:49 +00:00
pt_BR.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
pt.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
ro.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
ru.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
si.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
sk.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
sl.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
sq.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
sr.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
sr@latin.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
sv.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
ta.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
te.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
th.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
tr.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
uk.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
ur.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
vi_VN.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
vi.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
zh_CN.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
zh_TW.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00
zu.po Release of libvirt-0.9.7 2011-11-08 14:55:25 +08:00