summaryrefslogtreecommitdiff
path: root/clients/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'clients/ui.h')
-rw-r--r--clients/ui.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/clients/ui.h b/clients/ui.h
index b4ce5f5..393d5ff 100644
--- a/clients/ui.h
+++ b/clients/ui.h
@@ -79,9 +79,11 @@ char *rpc_dry(struct app *a, const char *cmd, const char *args);
char *read_file_b64(const char *path);
char *file_browser(struct app *a, const char *start_dir);
void attachment_download(struct app *a, int64_t att_id);
+void attachment_open(struct app *a, int64_t att_id);
+void attachment_view_or_download(struct app *a, int64_t att_id);
int64_t pick_voucher(struct app *a);
-void pdf_save_and_open(const char *b64, const char *filename,
- const char *title);
+void file_save_and_open(const char *b64, const char *filename,
+ const char *title);
/* generated-document helpers (reports, bokslut) */
void buf_line(struct buf *b, const char *fmt, ...)