+2009-04-12 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Remove a bunch of juvenile comments. Source code should
+ look professional, even if some developers are not.
+
2009-04-07 Milan Crha <mcrha@redhat.com>
** Fix for bug #574522
return g_string_free (words, FALSE);
}
-/*
- * What the fuck is wrong with glib's MAX macro.
- */
static int
e_name_western_max (const int a, const int b)
{
}
/* this is just to OR results together */
-struct _glib_sux_donkeys {
+struct IterData {
int count;
GPtrArray *uids;
};
/* or, store all unique values */
static void
-g_lib_sux_htor(char *key, int value, struct _glib_sux_donkeys *fuckup)
+htor(char *key, int value, struct IterData *iter_data)
{
- g_ptr_array_add(fuckup->uids, key);
+ g_ptr_array_add(iter_data->uids, key);
}
/* and, only store duplicates */
static void
-g_lib_sux_htand(char *key, int value, struct _glib_sux_donkeys *fuckup)
+htand(char *key, int value, struct IterData *iter_data)
{
- if (value == fuckup->count)
- g_ptr_array_add(fuckup->uids, key);
+ if (value == iter_data->count)
+ g_ptr_array_add(iter_data->uids, key);
}
static int
{
GPtrArray *result = g_ptr_array_new();
GHashTable *ht = g_hash_table_new(g_str_hash, g_str_equal);
- struct _glib_sux_donkeys lambdafoo;
+ struct IterData lambdafoo;
CamelIndexCursor *wc, *nc;
const char *word, *name;
int i;
lambdafoo.uids = result;
lambdafoo.count = (1<<words->len) - 1;
- g_hash_table_foreach(ht, (GHFunc)g_lib_sux_htand, &lambdafoo);
+ g_hash_table_foreach(ht, (GHFunc)htand, &lambdafoo);
g_hash_table_destroy(ht);
}
CamelException *ex = search->priv->ex;
struct _camel_search_words *words;
ESExpResult *r;
- struct _glib_sux_donkeys lambdafoo;
+ struct IterData lambdafoo;
if (search->current) {
int truth = FALSE;
}
}
lambdafoo.uids = r->value.ptrarray;
- g_hash_table_foreach(ht, (GHFunc)g_lib_sux_htor, &lambdafoo);
+ g_hash_table_foreach(ht, (GHFunc)htor, &lambdafoo);
g_hash_table_destroy(ht);
}
}
}
-/* fucking glib... */
static const char *
e_strdown (char *str)
{
#define d(x)
-/* dunno where this fucking thing is got from */
+/* dunno where this thing is got from */
/* see also camel-lock.c */
#define _(x) (x)
for (i=3;i<255;i++)
close(i);
execl(CAMEL_LIBEXECDIR "/camel-lock-helper-" API_VERSION, "camel-lock-helper", NULL);
- d(fprintf(stderr, "shit, couldn't exec lock helper!\n"));
/* it'll pick this up when it tries to use us */
exit(255);
default:
CamelMimeFilter *camel_mime_filter_tohtml_new (guint32 flags, guint32 colour);
-/* utility functions to replace e_text_to_html shit */
+/* utility functions to replace e_text_to_html */
char *camel_text_to_html (const char *in, guint32 flags, guint32 colour);
switch (camel_mime_parser_state (mp)) {
case CAMEL_MIME_PARSER_STATE_HEADER:
d(printf("Creating body part\n"));
- /* multipart/signed is some fucked up type that we must treat as binary data, fun huh, idiots. */
+ /* multipart/signed is some type that we must treat as binary data. */
if (camel_content_type_is (ct, "multipart", "signed")) {
content = (CamelDataWrapper *) camel_multipart_signed_new ();
camel_multipart_construct_from_parser ((CamelMultipart *) content, mp);
111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,
};
-/* hrm, is there a library for this shit? */
static struct {
char *name;
int offset;
} else if (!g_ascii_strncasecmp (resp, "OK [PERMANENTFLAGS ", 19)) {
resp += 19;
- /* workaround for broken IMAP servers that send "* OK [PERMANENTFLAGS ()] Permanent flags"
- * even tho they do allow storing flags. *Sigh* So many fucking broken IMAP servers out there. */
+ /* workaround for broken IMAP servers that send
+ * "* OK [PERMANENTFLAGS ()] Permanent flags"
+ * even tho they do allow storing flags. */
imap_parse_flag_list (&resp, &perm_flags, NULL);
if (perm_flags != 0)
folder->permanent_flags = perm_flags;
}
if (pmi == NULL) {
- /* Server response is *really* fucked up,
- I guess we just pretend it never happened? */
continue;
}
}
-/* FIXME: please god, when will the hurting stop? Thus function is so
- fucking broken it's not even funny. */
ssize_t
camel_imap_store_readline (CamelImapStore *store, char **dest, CamelException *ex)
{
unexpected:
- /* no fucking clue what we got... */
if (camel_imap4_engine_line (engine, &linebuf, &len, &ic->ex) == -1)
goto exception;
}
static void
-courier_imap_is_a_piece_of_shit (CamelFolderSummary *summary, guint32 msg)
+courier_imap_show_error (CamelFolderSummary *summary, guint32 msg)
{
CamelSession *session = ((CamelService *) summary->folder->parent_store)->session;
char *warning;
for (i = 0; i < fetch->added->len; i++) {
if (!(envelope = fetch->added->pdata[i])) {
if (complete)
- courier_imap_is_a_piece_of_shit (fetch->summary, i + fetch->first);
+ courier_imap_show_error (fetch->summary, i + fetch->first);
break;
}
for (i = 0; i < fetch->added->len; i++) {
if (!(envelope = fetch->added->pdata[i])) {
- courier_imap_is_a_piece_of_shit (fetch->summary, i + fetch->first);
+ courier_imap_show_error (fetch->summary, i + fetch->first);
continue;
}
typedef struct _CamelMaildirMessageInfo {
CamelLocalMessageInfo info;
- char *filename; /* maildir has this annoying status shit on the end of the filename, use this to get the real message id */
+ char *filename; /* maildir has this annoying status on the end of the filename, use this to get the real message id */
} CamelMaildirMessageInfo;
struct _CamelMaildirSummary {
</para>
+@ap:
+@argc:
+@argv:
<!-- ##### STRUCT CamelArgGet ##### -->
<para>
</para>
+@tag:
<!-- ##### STRUCT CamelArgGetV ##### -->
<para>
@argc:
@argv:
+<!-- ##### MACRO ca_object ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO ca_int ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO ca_double ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO ca_str ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO ca_ptr ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO CAMEL_ARGV_MAX ##### -->
+<para>
+
+</para>
+
+
+
<!-- ##### MACRO camel_argv_start ##### -->
<para>
@CAMEL_OBJECT_DESTROY:
+<!-- ##### FUNCTION camel_type_init ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### FUNCTION camel_type_register ##### -->
+<para>
+
+</para>
+
+@parent:
+@name:
+@instance_size:
+@classfuncs_size:
+@class_init:
+@class_finalize:
+@instance_init:
+@instance_finalize:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_interface_register ##### -->
+<para>
+
+</para>
+
+@parent:
+@name:
+@classfuncs_size:
+@class_init:
+@class_finalize:
+@Returns:
+
+
+<!-- ##### MACRO camel_type_get_global_classfuncs ##### -->
+<para>
+
+</para>
+
+@x:
+
+
+<!-- ##### FUNCTION camel_type_to_name ##### -->
+<para>
+
+</para>
+
+@type:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_name_to_type ##### -->
+<para>
+
+</para>
+
+@name:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_class_add_event ##### -->
+<para>
+
+</para>
+
+@klass:
+@name:
+@prep:
+
+
+<!-- ##### FUNCTION camel_object_class_add_interface ##### -->
+<para>
+
+</para>
+
+@klass:
+@itype:
+
+
+<!-- ##### FUNCTION camel_object_class_dump_tree ##### -->
+<para>
+
+</para>
+
+@root:
+
+
+<!-- ##### FUNCTION camel_object_cast ##### -->
+<para>
+
+</para>
+
+@obj:
+@ctype:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_is ##### -->
+<para>
+
+</para>
+
+@obj:
+@ctype:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_class_cast ##### -->
+<para>
+
+</para>
+
+@klass:
+@ctype:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_class_is ##### -->
+<para>
+
+</para>
+
+@klass:
+@ctype:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_interface_cast ##### -->
+<para>
+
+</para>
+
+@klass:
+@ctype:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_interface_is ##### -->
+<para>
+
+</para>
+
+@k:
+@ctype:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_new ##### -->
+<para>
+
+</para>
+
+@type:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_ref ##### -->
+<para>
+
+</para>
+
+@Param1:
+
+
+<!-- ##### FUNCTION camel_object_unref ##### -->
+<para>
+
+</para>
+
+@Param1:
+
+
+<!-- ##### FUNCTION camel_object_hook_event ##### -->
+<para>
+
+</para>
+
+@obj:
+@name:
+@hook:
+@data:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_remove_event ##### -->
+<para>
+
+</para>
+
+@obj:
+@id:
+
+
+<!-- ##### FUNCTION camel_object_unhook_event ##### -->
+<para>
+
+</para>
+
+@obj:
+@name:
+@hook:
+@data:
+
+
+<!-- ##### FUNCTION camel_object_trigger_event ##### -->
+<para>
+
+</para>
+
+@obj:
+@name:
+@event_data:
+
+
+<!-- ##### FUNCTION camel_object_get_interface ##### -->
+<para>
+
+</para>
+
+@vo:
+@itype:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_set ##### -->
+<para>
+
+</para>
+
+@obj:
+@ex:
+@Varargs:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_setv ##### -->
+<para>
+
+</para>
+
+@obj:
+@ex:
+@Param3:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_get ##### -->
+<para>
+
+</para>
+
+@obj:
+@ex:
+@Varargs:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_getv ##### -->
+<para>
+
+</para>
+
+@obj:
+@ex:
+@Param3:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_get_ptr ##### -->
+<para>
+
+</para>
+
+@vo:
+@ex:
+@tag:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_get_int ##### -->
+<para>
+
+</para>
+
+@vo:
+@ex:
+@tag:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_meta_get ##### -->
+<para>
+
+</para>
+
+@vo:
+@name:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_meta_set ##### -->
+<para>
+
+</para>
+
+@vo:
+@name:
+@value:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_state_read ##### -->
+<para>
+
+</para>
+
+@vo:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_state_write ##### -->
+<para>
+
+</para>
+
+@vo:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_free ##### -->
+<para>
+
+</para>
+
+@vo:
+@tag:
+@value:
+
+
+<!-- ##### STRUCT CamelObjectBag ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### USER_FUNCTION CamelCopyFunc ##### -->
+<para>
+
+</para>
+
+@vo:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_bag_new ##### -->
+<para>
+
+</para>
+
+@hash:
+@equal:
+@keycopy:
+@keyfree:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_bag_get ##### -->
+<para>
+
+</para>
+
+@bag:
+@key:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_bag_peek ##### -->
+<para>
+
+</para>
+
+@bag:
+@key:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_bag_reserve ##### -->
+<para>
+
+</para>
+
+@bag:
+@key:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_bag_add ##### -->
+<para>
+
+</para>
+
+@bag:
+@key:
+@vo:
+
+
+<!-- ##### FUNCTION camel_object_bag_abort ##### -->
+<para>
+
+</para>
+
+@bag:
+@key:
+
+
+<!-- ##### FUNCTION camel_object_bag_rekey ##### -->
+<para>
+
+</para>
+
+@bag:
+@o:
+@newkey:
+
+
+<!-- ##### FUNCTION camel_object_bag_list ##### -->
+<para>
+
+</para>
+
+@bag:
+@Returns:
+
+
+<!-- ##### FUNCTION camel_object_bag_remove ##### -->
+<para>
+
+</para>
+
+@bag:
+@o:
+
+
+<!-- ##### FUNCTION camel_object_bag_destroy ##### -->
+<para>
+
+</para>
+
+@bag:
+
+
+<!-- ##### MACRO CAMEL_MAKE_CLASS ##### -->
+<para>
+
+</para>
+
+@type:
+@tname:
+@parent:
+@pname:
+
+
+<!-- ##### STRUCT CamelIteratorVTable ##### -->
+<para>
+
+</para>
+
+@free:
+@next:
+@reset:
+@length:
+
<!-- ##### STRUCT CamelIterator ##### -->
<para>
camel-types
-<!-- ##### MACRO CAMEL_ARGV_MAX ##### -->
-<para>
-
-</para>
-
-
<!-- ##### MACRO CAMEL_GROUPWISE_FOLDER_LOCK ##### -->
<para>
@f:
@l:
-<!-- ##### MACRO CAMEL_MAKE_CLASS ##### -->
-<para>
-
-</para>
-
-@type:
-@tname:
-@parent:
-@pname:
-
<!-- ##### MACRO CAMEL_NNTP_FOLDER_LOCK ##### -->
<para>
@f:
@l:
-<!-- ##### USER_FUNCTION CamelCopyFunc ##### -->
-<para>
-
-</para>
-
-@vo:
-@Returns:
-
<!-- ##### STRUCT CamelImapFolderPrivate ##### -->
<para>
</para>
-<!-- ##### STRUCT CamelIteratorVTable ##### -->
-<para>
-
-</para>
-
-@free:
-@next:
-@reset:
-@length:
-
<!-- ##### STRUCT CamelLocalFolderPrivate ##### -->
<para>
@dummy:
-<!-- ##### STRUCT CamelObjectBag ##### -->
-<para>
-
-</para>
-
-
<!-- ##### STRUCT CamelSimpleDataWrapper ##### -->
<para>
@ai_canonname:
@ai_next:
-<!-- ##### MACRO ca_double ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### MACRO ca_int ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### MACRO ca_object ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### MACRO ca_ptr ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### MACRO ca_str ##### -->
-<para>
-
-</para>
-
-
<!-- ##### FUNCTION camel_block_file_get_type ##### -->
<para>
@Returns:
-<!-- ##### FUNCTION camel_interface_cast ##### -->
-<para>
-
-</para>
-
-@klass:
-@ctype:
-@Returns:
-
-<!-- ##### FUNCTION camel_interface_is ##### -->
-<para>
-
-</para>
-
-@k:
-@ctype:
-@Returns:
-
-<!-- ##### FUNCTION camel_interface_register ##### -->
-<para>
-
-</para>
-
-@parent:
-@name:
-@classfuncs_size:
-@class_init:
-@class_finalize:
-@Returns:
-
<!-- ##### FUNCTION camel_isubscribe_get_type ##### -->
<para>
@buf:
@len:
-<!-- ##### FUNCTION camel_name_to_type ##### -->
-<para>
-
-</para>
-
-@name:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_bag_abort ##### -->
-<para>
-
-</para>
-
-@bag:
-@key:
-
-<!-- ##### FUNCTION camel_object_bag_add ##### -->
-<para>
-
-</para>
-
-@bag:
-@key:
-@vo:
-
-<!-- ##### FUNCTION camel_object_bag_destroy ##### -->
-<para>
-
-</para>
-
-@bag:
-
-<!-- ##### FUNCTION camel_object_bag_get ##### -->
-<para>
-
-</para>
-
-@bag:
-@key:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_bag_list ##### -->
-<para>
-
-</para>
-
-@bag:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_bag_new ##### -->
-<para>
-
-</para>
-
-@hash:
-@equal:
-@keycopy:
-@keyfree:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_bag_peek ##### -->
-<para>
-
-</para>
-
-@bag:
-@key:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_bag_rekey ##### -->
-<para>
-
-</para>
-
-@bag:
-@o:
-@newkey:
-
-<!-- ##### FUNCTION camel_object_bag_remove ##### -->
-<para>
-
-</para>
-
-@bag:
-@o:
-
-<!-- ##### FUNCTION camel_object_bag_reserve ##### -->
-<para>
-
-</para>
-
-@bag:
-@key:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_cast ##### -->
-<para>
-
-</para>
-
-@obj:
-@ctype:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_class_add_event ##### -->
-<para>
-
-</para>
-
-@klass:
-@name:
-@prep:
-
-<!-- ##### FUNCTION camel_object_class_add_interface ##### -->
-<para>
-
-</para>
-
-@klass:
-@itype:
-
-<!-- ##### FUNCTION camel_object_class_cast ##### -->
-<para>
-
-</para>
-
-@klass:
-@ctype:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_class_dump_tree ##### -->
-<para>
-
-</para>
-
-@root:
-
-<!-- ##### FUNCTION camel_object_class_is ##### -->
-<para>
-
-</para>
-
-@klass:
-@ctype:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_free ##### -->
-<para>
-
-</para>
-
-@vo:
-@tag:
-@value:
-
-<!-- ##### FUNCTION camel_object_get ##### -->
-<para>
-
-</para>
-
-@obj:
-@ex:
-@Varargs:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_get_int ##### -->
-<para>
-
-</para>
-
-@vo:
-@ex:
-@tag:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_get_interface ##### -->
-<para>
-
-</para>
-
-@vo:
-@itype:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_get_ptr ##### -->
-<para>
-
-</para>
-
-@vo:
-@ex:
-@tag:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_getv ##### -->
-<para>
-
-</para>
-
-@obj:
-@ex:
-@Param3:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_hook_event ##### -->
-<para>
-
-</para>
-
-@obj:
-@name:
-@hook:
-@data:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_is ##### -->
-<para>
-
-</para>
-
-@obj:
-@ctype:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_meta_get ##### -->
-<para>
-
-</para>
-
-@vo:
-@name:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_meta_set ##### -->
-<para>
-
-</para>
-
-@vo:
-@name:
-@value:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_new ##### -->
-<para>
-
-</para>
-
-@type:
-@Returns:
-
<!-- ##### FUNCTION camel_object_new_name ##### -->
<para>
@name:
@Returns:
-<!-- ##### FUNCTION camel_object_ref ##### -->
-<para>
-
-</para>
-
-@Param1:
-
-<!-- ##### FUNCTION camel_object_remove_event ##### -->
-<para>
-
-</para>
-
-@obj:
-@id:
-
-<!-- ##### FUNCTION camel_object_set ##### -->
-<para>
-
-</para>
-
-@obj:
-@ex:
-@Varargs:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_setv ##### -->
-<para>
-
-</para>
-
-@obj:
-@ex:
-@Param3:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_state_read ##### -->
-<para>
-
-</para>
-
-@vo:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_state_write ##### -->
-<para>
-
-</para>
-
-@vo:
-@Returns:
-
-<!-- ##### FUNCTION camel_object_trigger_event ##### -->
-<para>
-
-</para>
-
-@obj:
-@name:
-@event_data:
-
-<!-- ##### FUNCTION camel_object_unhook_event ##### -->
-<para>
-
-</para>
-
-@obj:
-@name:
-@hook:
-@data:
-
-<!-- ##### FUNCTION camel_object_unref ##### -->
-<para>
-
-</para>
-
-@Param1:
-
<!-- ##### FUNCTION camel_partition_table_get_type ##### -->
<para>
@Returns:
-<!-- ##### MACRO camel_type_get_global_classfuncs ##### -->
-<para>
-
-</para>
-
-@x:
-
-<!-- ##### FUNCTION camel_type_init ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### FUNCTION camel_type_register ##### -->
-<para>
-
-</para>
-
-@parent:
-@name:
-@instance_size:
-@classfuncs_size:
-@class_init:
-@class_finalize:
-@instance_init:
-@instance_finalize:
-@Returns:
-
-<!-- ##### FUNCTION camel_type_to_name ##### -->
-<para>
-
-</para>
-
-@type:
-@Returns:
-
<!-- ##### FUNCTION camel_ustrstrcase ##### -->
<para>
changed |= xml_set_prop (node, "uid", &id->sig_uid);
if (!id->sig_uid) {
- /* WTF is this shit doing here? Migrate is supposed to "handle this" */
+ /* XXX Migrate is supposed to "handle this" */
/* set a fake sig uid so the migrate code can handle this */
gboolean autogen = FALSE;
}
-/* fucking glib... */
static const char *
e_strdown (char *str)
{
/* implementations for the builtin functions */
-/* can you tell, i dont like glib? */
/* we can only itereate a hashtable from a called function */
-struct _glib_sux_donkeys {
+struct IterData {
int count;
GPtrArray *uids;
};
/* ok, store any values that are in all sets */
static void
-g_lib_sux_htand(char *key, int value, struct _glib_sux_donkeys *fuckup)
+htand(char *key, int value, struct IterData *iter_data)
{
- if (value == fuckup->count) {
- g_ptr_array_add(fuckup->uids, key);
+ if (value == iter_data->count) {
+ g_ptr_array_add(iter_data->uids, key);
}
}
/* or, store all unique values */
static void
-g_lib_sux_htor(char *key, int value, struct _glib_sux_donkeys *fuckup)
+htor(char *key, int value, struct IterData *iter_data)
{
- g_ptr_array_add(fuckup->uids, key);
+ g_ptr_array_add(iter_data->uids, key);
}
static ESExpResult *
{
struct _ESExpResult *r, *r1;
GHashTable *ht = g_hash_table_new(g_str_hash, g_str_equal);
- struct _glib_sux_donkeys lambdafoo;
+ struct IterData lambdafoo;
int type=-1;
int bool = TRUE;
int i;
if (type == ESEXP_RES_ARRAY_PTR) {
lambdafoo.count = argc;
lambdafoo.uids = g_ptr_array_new();
- g_hash_table_foreach(ht, (GHFunc)g_lib_sux_htand, &lambdafoo);
+ g_hash_table_foreach(ht, (GHFunc)htand, &lambdafoo);
r->type = ESEXP_RES_ARRAY_PTR;
r->value.ptrarray = lambdafoo.uids;
} else if (type == ESEXP_RES_BOOL) {
{
struct _ESExpResult *r, *r1;
GHashTable *ht = g_hash_table_new(g_str_hash, g_str_equal);
- struct _glib_sux_donkeys lambdafoo;
+ struct IterData lambdafoo;
int type = -1;
int bool = FALSE;
int i;
if (type == ESEXP_RES_ARRAY_PTR) {
lambdafoo.count = argc;
lambdafoo.uids = g_ptr_array_new();
- g_hash_table_foreach(ht, (GHFunc)g_lib_sux_htor, &lambdafoo);
+ g_hash_table_foreach(ht, (GHFunc)htor, &lambdafoo);
r->type = ESEXP_RES_ARRAY_PTR;
r->value.ptrarray = lambdafoo.uids;
} else if (type == ESEXP_RES_BOOL) {