diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-11-01 05:08:55 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-11-01 05:17:26 +0100 |
commit | c8df325c7038a8312dd22be800ac008d54f8466b (patch) | |
tree | 281d2e65a62bccdaff563bc09366d41cb06da429 /xdg.h | |
parent | 6eecee6b91a0b810c31f0c865d7329013aff226c (diff) | |
download | fiv-c8df325c7038a8312dd22be800ac008d54f8466b.tar.gz fiv-c8df325c7038a8312dd22be800ac008d54f8466b.tar.xz fiv-c8df325c7038a8312dd22be800ac008d54f8466b.zip |
Split out xdg.{c,h}
Diffstat (limited to 'xdg.h')
-rw-r--r-- | xdg.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +// +// xdg.h: various *nix desktop utilities +// +// Copyright (c) 2021, Přemysl Eric Janouch <p@janouch.name> +// +// Permission to use, copy, modify, and/or distribute this software for any +// purpose with or without fee is hereby granted. +// +// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY +// SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION +// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +// + +char *get_xdg_home_dir(const char *var, const char *default_); +char **extract_mime_globs(const char **media_types); |