diff options
| author | Vito Caputo <vcaputo@pengaru.com> | 2026-10-14 20:03:28 -0700 |
|---|---|---|
| committer | Vito Caputo <vcaputo@pengaru.com> | 2026-10-15 21:23:21 -0700 |
| commit | 19894057ec25afeab0d10c5e231548a09ea1739d (patch) | |
| tree | 9b63ce676e36ae2dc87ac906fc4827781b2640c9 /src/vcr.h | |
| parent | 49d20e4280d8aa6a9b719211a061394fc72d1cf5 (diff) | |
If the caller has some textual information to embed in the PNG
metadata, it should be able to embed it.
This adds three:
timestamp: always populated with the current time
name: always populated with --name arg, or empty
payload: made available for customized usage
payload is aimed at strobe users who have some context associated
with the strobe request they'd like to embed in an easily
machine-readable location attached to the png file.
Diffstat (limited to 'src/vcr.h')
| -rw-r--r-- | src/vcr.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ unsigned vcr_dest_xwindow_get_id(vcr_dest_t *dest); vcr_dest_t * vcr_dest_xpicture_new(vcr_backend_t *vbe, Picture picture); #endif /* USE_XLIB */ #ifdef USE_PNG -vcr_dest_t * vcr_dest_png_new(vcr_backend_t *vbe, FILE *output); +vcr_dest_t * vcr_dest_png_new(vcr_backend_t *vbe, FILE *output, const char *name, const char *payload); #endif /* USE_PNG */ vcr_dest_t * vcr_dest_free(vcr_dest_t *dest); |
