Initial original import from: fuse-2.4.2-2.fc4
[captive.git] / src / libcaptive / include / captive / client.h
index 980af34..9c3b749 100644 (file)
@@ -1,6 +1,6 @@
 /* $Id$
- * Include file with client-application access to libcaptive
- * Copyright (C) 2002 Jan Kratochvil <project-captive@jankratochvil.net>
+ * Include file with client utility functions of libcaptive
+ * Copyright (C) 2003 Jan Kratochvil <project-captive@jankratochvil.net>
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 #define _CAPTIVE_CLIENT_H 1
 
 
-#include <glib/gmacros.h>
 #include <glib/gtypes.h>
-#include <glib/giochannel.h>
-#include <popt.h>
 
 
 G_BEGIN_DECLS
 
-extern const struct poptOption captive_popt[];
-#define CAPTIVE_POPT_INCLUDE \
-               { NULL,'\0',POPT_ARG_INCLUDE_TABLE,(struct poptOption *)&captive_popt,0,"Captive" }
-
-extern gchar *captive_option_filesystem;
-enum captive_option_rwmode {
-               CAPTIVE_OPTION_RWMODE_RO,
-               CAPTIVE_OPTION_RWMODE_BLIND,
-               CAPTIVE_OPTION_RWMODE_RW,
-               };
-extern enum captive_option_rwmode captive_option_rwmode;
-enum captive_option_media {
-               CAPTIVE_OPTION_MEDIA_CDROM,
-               CAPTIVE_OPTION_MEDIA_DISK,
-               };
-extern enum captive_option_media captive_option_media;
-extern gboolean captive_debug_messages;
-extern GIOChannel *captive_image_iochannel;
-/**
- * captive_image_size:
- *
- * Size of #captive_image_iochannel. Empty files are rejected and therefore
- * this value is always >0 after successful captive_init().
- * Value is detected by captive_giochannel_size(captive_image_iochannel).
- */
-extern guint64 captive_image_size;
-
-
-gboolean captive_init(const gchar *captive_args,GIOChannel *image_iochannel);
-gboolean captive_shutdown(void);
+gchar *captive_path_normalize(const gchar *raw_pathname);
+void captive_standalone_init(void);
+void captive_standalone_gnome_init(void);
 
 G_END_DECLS