diff --git a/callbacks.h b/callbacks.h index fc332f7..8f7c902 100644 --- a/callbacks.h +++ b/callbacks.h @@ -7,6 +7,7 @@ #include #include +#include "internal.h" #include "document.h" #include "zathura.h" diff --git a/document.h b/document.h index adcf80c..316e666 100644 --- a/document.h +++ b/document.h @@ -26,12 +26,6 @@ typedef enum zathura_document_meta_e ZATHURA_DOCUMENT_MODIFICATION_DATE /**< Modification data */ } zathura_document_meta_t; -typedef struct zathura_password_dialog_info_s -{ - char* path; /**< Path to the file */ - zathura_t* zathura; /**< Zathura session */ -} zathura_password_dialog_info_t; - /** * Document */ diff --git a/internal.h b/internal.h new file mode 100644 index 0000000..fadacfb --- /dev/null +++ b/internal.h @@ -0,0 +1,17 @@ +/* See LICENSE file for license and copyright information */ + +#ifndef INTERNAL_H +#define INTERNAL_H + +#include "zathura.h" + +/** + * Zathura password dialog + */ +typedef struct zathura_password_dialog_info_s +{ + char* path; /**< Path to the file */ + zathura_t* zathura; /**< Zathura session */ +} zathura_password_dialog_info_t; + +#endif // INTERNAL_H