microfeed-common/microfeedmisc.h File Reference

#include <stdlib.h>
#include <sys/types.h>
#include <dirent.h>

Go to the source code of this file.

Defines

#define microfeed_weak_reference_get(w, t)   ((t*)microfeed_weak_reference_get_impl(w))
#define microfeed_memory_allocate(t)   ((t*)microfeed_memory_allocate_bytes(sizeof(t)))
#define microfeed_memory_allocate_with_strings(t,...)   ((t*)microfeed_memory_allocate_with_strings_impl(sizeof(t),__VA_ARGS__))

Typedefs

typedef struct
_MicrofeedWeakReference 
MicrofeedWeakReference
 Opaque data type representing a weak reference.

Functions

MicrofeedWeakReferencemicrofeed_weak_reference_new (void *referenced, MicrofeedWeakReference *existing_weak_reference)
void microfeed_weak_reference_free (MicrofeedWeakReference *weak_refeference)
void * microfeed_weak_reference_get_impl (MicrofeedWeakReference *weak_reference)
void microfeed_weak_reference_invalidate (MicrofeedWeakReference *weak_reference)
void * microfeed_memory_allocate_bytes (size_t size)
void microfeed_memory_free (void *p)
char * microfeed_util_string_concatenate (const char *s,...)
char * microfeed_util_string_percent_encoding_escape (const char *s)
char * microfeed_util_string_percent_encoding_unescape (const char *s)
char * microfeed_util_string_base64_encode (const char *s, size_t length)
size_t microfeed_util_string_starts_with (const char *s, const char *prefix)
int microfeed_util_create_directory_recursively (const char *directory)


Generated on Fri Jun 26 21:48:57 2009 for Microfeed by  doxygen 1.5.6