int xenv_init(void); int xenv_update(int *is_down); void xenv_finish(void);