1 /* GIO - GLib Input, Output and Streaming Library 2 * 3 * Copyright (C) 2014 Ross Lagerwall 4 * 5 * This library is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU Lesser General Public 7 * License as published by the Free Software Foundation; either 8 * version 2 of the License, or (at your option) any later version. 9 * 10 * This library is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General 16 * Public License along with this library; if not, see 17 * <http://www.gnu.org/licenses/>. 18 */ 19 20 #ifndef __G_VFS_UTILS_H__ 21 #define __G_VFS_UTILS_H__ 22 23 G_BEGIN_DECLS 24 25 void gvfs_randomize_string (char *str, 26 int len); 27 gboolean gvfs_have_session_bus (void); 28 29 gboolean gvfs_get_debug (void); 30 void gvfs_set_debug (gboolean debugging); 31 void gvfs_setup_debug_handler (void); 32 33 gboolean gvfs_is_ipv6 (const char *host); 34 35 G_END_DECLS 36 37 #endif /* __G_VFS_UTILS_H__ */ 38