![]() |
|
|||
File indexing completed on 2025-09-17 08:54:39
0001 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ 0002 /* dbus-syntax.h - utility functions for strings with special syntax 0003 * 0004 * Author: Simon McVittie <simon.mcvittie@collabora.co.uk> 0005 * Copyright © 2011 Nokia Corporation 0006 * 0007 * SPDX-License-Identifier: AFL-2.1 OR GPL-2.0-or-later 0008 * 0009 * Licensed under the Academic Free License version 2.1 0010 * 0011 * This program is free software; you can redistribute it and/or modify 0012 * it under the terms of the GNU General Public License as published by 0013 * the Free Software Foundation; either version 2 of the License, or 0014 * (at your option) any later version. 0015 * 0016 * This program is distributed in the hope that it will be useful, 0017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0019 * GNU General Public License for more details. 0020 * 0021 * You should have received a copy of the GNU General Public License 0022 * along with this program; if not, write to the Free Software 0023 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 0024 * 0025 */ 0026 #if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION) 0027 #error "Only <dbus/dbus.h> can be included directly, this file may disappear or change contents." 0028 #endif 0029 0030 #ifndef DBUS_SYNTAX_H 0031 #define DBUS_SYNTAX_H 0032 0033 #include <dbus/dbus-macros.h> 0034 #include <dbus/dbus-types.h> 0035 #include <dbus/dbus-errors.h> 0036 0037 DBUS_BEGIN_DECLS 0038 0039 DBUS_EXPORT 0040 dbus_bool_t dbus_validate_path (const char *path, 0041 DBusError *error); 0042 DBUS_EXPORT 0043 dbus_bool_t dbus_validate_interface (const char *name, 0044 DBusError *error); 0045 DBUS_EXPORT 0046 dbus_bool_t dbus_validate_member (const char *name, 0047 DBusError *error); 0048 DBUS_EXPORT 0049 dbus_bool_t dbus_validate_error_name (const char *name, 0050 DBusError *error); 0051 DBUS_EXPORT 0052 dbus_bool_t dbus_validate_bus_name (const char *name, 0053 DBusError *error); 0054 DBUS_EXPORT 0055 dbus_bool_t dbus_validate_utf8 (const char *alleged_utf8, 0056 DBusError *error); 0057 0058 DBUS_END_DECLS 0059 0060 #endif /* multiple-inclusion guard */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |