The Assimilation Project  based on Assimilation version
replacement_funs.c File Reference

Define replacement functions. More...

#include <projectcommon.h>
#include <string.h>
#include <time.h>
Include dependency graph for replacement_funs.c:

Go to the source code of this file.




WINEXPORT gint64 g_get_real_time (void)
WINEXPORT gint64 g_get_monotonic_time (void)
 Local replacement for g_get_monotonic_time() - for old releases of glib. More...
void assim_slist_free_full (GSList *list, void(*datafree)(gpointer))
gchar ** g_get_environ (void)
gboolean g_queue_remove_boolean (GQueue *queue, gconstpointer element)


char ** environ

Detailed Description

Define replacement functions.

Provides replacement functions for those systems which are lacking various things we like.

This file is part of the Assimilation Project.

Copyright © 2011, 2012, 2013 - Alan Robertson
The Assimilation software is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The Assimilation software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the Assimilation Project software. If not, see

Definition in file replacement_funs.c.

Macro Definition Documentation



Definition at line 51 of file replacement_funs.c.

Referenced by g_get_monotonic_time().

Function Documentation

void assim_slist_free_full ( GSList *  list,
void(*)(gpointer)  datafree 


Local replacement function for g_slist_free_full()

Definition at line 71 of file replacement_funs.c.

References environ.

gchar** g_get_environ ( void  )

Definition at line 97 of file replacement_funs.c.

Referenced by assim_merge_environ().

Here is the caller graph for this function:

WINEXPORT gint64 g_get_real_time ( void  )


Local replacement for g_get_real_time() - for old releases of glib

Definition at line 34 of file replacement_funs.c.

Referenced by _hblistener_checktimeouts(), _hblistener_got_frameset(), _hblistener_set_deadtime(), _hblistener_set_warntime(), _jsondiscovery_discover(), _seqnoframe_initsessionid(), discovery_new(), and nano_reqconfig().

Here is the caller graph for this function:

gboolean g_queue_remove_boolean ( GQueue *  queue,
gconstpointer  element 


< Older versions of glib had g_queue_remove() return void - we need the boolean version for some things

Definition at line 120 of file replacement_funs.c.

Referenced by _resource_queue_cmd_remove().

Here is the caller graph for this function:

Variable Documentation

char** environ


Referenced by assim_slist_free_full().