lxc_state_t lxc_getstate(const char *name, const char *lxcpath) { lxc_state_t state = freezer_state(name, lxcpath); if (state != FROZEN && state != FREEZING) state = lxc_cmd_get_state(name, lxcpath); return state; }
lxc_state_t lxc_getstate(const char *name) { int state = freezer_state(name); if (state != FROZEN && state != FREEZING) state = __lxc_getstate(name); return state; }