Use ctypes to get elog_alarm
Merge branch 'elogctypes'