A Simple X Image Viewer
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 
 

36 líneas
969 B

  1. /* Copyright 2017 Max Voit
  2. *
  3. * This file is part of sxiv.
  4. *
  5. * sxiv is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published
  7. * by the Free Software Foundation; either version 2 of the License,
  8. * or (at your option) any later version.
  9. *
  10. * sxiv is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with sxiv. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #ifndef AUTORELOAD_H
  19. #define AUTORELOAD_H
  20. #include "types.h"
  21. typedef struct {
  22. int fd;
  23. int wd;
  24. bool watching_dir;
  25. } arl_t;
  26. void arl_cleanup(arl_t*);
  27. bool arl_handle(arl_t*, const char*);
  28. void arl_init(arl_t*);
  29. void arl_setup(arl_t*, const char*);
  30. #endif /* AUTORELOAD_H */