Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

resources.c File Reference

#include <hiker/bundlemgr.h>
#include <hiker/prv/bundlemgr_prv.h>
#include <hiker/ipc.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <sqlite3.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <dirent.h>
#include <sys/sendfile.h>
#include <glib.h>
#include <libintl.h>
#include <alp/pdk/gras.h>
#include "pm_traces.h"
#include "pm_globals.h"
#include "pm_ipc.h"
#include "pm_sql.h"
#include "ghost_support.h"
#include "java_support.h"
#include "pm_refimpl.h"

Data Structures

struct  myChannel

Functions

GList * alp_prv_bundle_expand_locale (const char *locale)
 Given an XPG/4 locale name, break off each optional part in turn, giving a list of possible locale paths in preferred order Multiple entries may be separated by colons.
void wipe_locales (void)
GList * alp_prv_bundle_expand_searchpath (const char *path)
 Given a path including escapes, create a list of possible paths using the current locale.
gchar * alp_bundle_ref_ro_pathname (struct _AlpBundleRef *ref, const char *path)
alp_status_t alp_bundle_ref_ro_data (struct _AlpBundleRef *ref, const char *path, gchar **data, size_t *length)
gchar * alp_bundle_ref_ro_tempfile (struct _AlpBundleRef *ref, const char *path, gboolean keep, const char *ext)
alp_status_t alp_bundle_tempfile_release (gchar *tempfile)
 Releases any storage associated with a tempfile returned from alp_bundle_ref_ro_tempfile().
GIOStatus my_close (GIOChannel *channel, GError **err)
GIOChannel * alp_bundle_ref_ro_channel (struct _AlpBundleRef *ref, const char *path)
GList * alp_bundle_ref_ro_directory (struct _AlpBundleRef *ref, const char *path, gboolean recurse)

Variables

GIOStatus(* my_orig_close )(GIOChannel *channel, GError **err)
GIOFuncs * my_channel_funcs


Function Documentation

GIOChannel* alp_bundle_ref_ro_channel struct _AlpBundleRef ref,
const char *  path
 

alp_status_t alp_bundle_ref_ro_data struct _AlpBundleRef ref,
const char *  path,
gchar **  data,
size_t *  length
 

GList* alp_bundle_ref_ro_directory struct _AlpBundleRef ref,
const char *  path,
gboolean  recurse
 

gchar* alp_bundle_ref_ro_pathname struct _AlpBundleRef ref,
const char *  path
 

gchar* alp_bundle_ref_ro_tempfile struct _AlpBundleRef ref,
const char *  path,
gboolean  keep,
const char *  ext
 

alp_status_t alp_bundle_tempfile_release gchar *  tempfile  ) 
 

Releases any storage associated with a tempfile returned from alp_bundle_ref_ro_tempfile().

This routine should be used when you are done with a tempfile. It'll take care of releasing any storage (file, memory, heap, etc.) associated with a tempfile.

Parameters:
[in] tempfile A value returned from a call to alp_bundle_ref_ro_tempfile()
Returns:
Sucess or failure

GIOStatus my_close GIOChannel *  channel,
GError **  err
 

void wipe_locales void   ) 
 


Variable Documentation

GIOFuncs* my_channel_funcs
 

GIOStatus(* my_orig_close)(GIOChannel *channel, GError **err)
 


Generated on Sat Dec 16 20:29:48 2006 for hiker-0.9 by  doxygen 1.4.4