Blob: bip-common.h

Blob id: 6e7aac3750ecd9f5bb7bb0a4b2025c1f64157e49

Size: 630 B

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 *
 *  OBEX Client
 *
 *  Copyright (C) 2024  Collabora Ltd.
 *
 *
 */

#include <glib.h>
#include "gdbus/gdbus.h"

struct prop_object;

gboolean parse_pixel_range(const gchar *dim, unsigned int *lower_ret,
						unsigned int *upper_ret,
						gboolean *fixed_ratio_ret);
gboolean verify_encoding(const char *encoding);
char *parse_transform(const char *transform);
struct prop_object *parse_properties(char *data, unsigned int length,
							int *err);
gboolean verify_properties(struct prop_object *obj);
void append_properties(DBusMessageIter *args, struct prop_object *obj);