aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-dbhash.h
blob: 9772a60c41fb554b335f2433fffde6e925ca5b33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * Writes hashes that go to/from disk in db form. Hash keys are strings
 *
 * Author:
 *   JP Rosevear (jpr@ximian.com)
 *
 * Copyright 2000, Ximian, Inc.
 */

#ifndef __E_DBHASH_H__
#define __E_DBHASH_H__

#include <glib.h>

typedef enum {
    E_DBHASH_STATUS_SAME,
    E_DBHASH_STATUS_DIFFERENT,
    E_DBHASH_STATUS_NOT_FOUND,
} EDbHashStatus;

typedef struct _EDbHash EDbHash;
typedef struct _EDbHashPrivate EDbHashPrivate;

struct _EDbHash
{
    EDbHashPrivate *priv;
};

typedef void (*EDbHashFunc) (const char *key, gpointer user_data);

EDbHash *e_dbhash_new (const char *filename);

void e_dbhash_add (EDbHash *edbh, const char *key, const char *data);
void e_dbhash_remove (EDbHash *edbh, const char *key);

EDbHashStatus e_dbhash_compare (EDbHash *edbh, const char *key, const char *compare_data);
void e_dbhash_foreach_key (EDbHash *edbh, EDbHashFunc func, gpointer user_data);

void e_dbhash_write (EDbHash *edbh);

void e_dbhash_destroy (EDbHash *edbh);

#endif /* ! __E_DBHASH_H__ */

'>2003-04-296-2182/+2346 * as below (update_active): as belowRadek Doulik2003-04-253-4/+11 * pass an exception to get_provider, to silence some warnings/get a validNot Zed2003-04-242-1/+9 * Only add the Organization: header if it is non-empty. Fixes bug #41730.Jeffrey Stedfast2003-04-242-1/+6 * Protect against a NULL strv result from parsing the language list string.Jeffrey Stedfast2003-04-222-5/+12 * Fixes for bug #41142.Jeffrey Stedfast2003-04-192-3/+11 * [ fixes #21499 ]Rodney Dawes2003-04-195-3/+13 * remove the help menu item handling, as the help menu is removed. Clean upNot Zed2003-04-172-7/+5 * Remove COMPONENTDIR and set BINDIR and VERSION instead.Not Zed2003-04-177-12/+26 * schema keys can't be directories (#41419)Jeremy Katz2003-04-172-1/+5 * Fixed a logic error that was the cause of bug #41389.Jeffrey Stedfast2003-04-172-1/+6 * For bug #41199.Not Zed2003-04-163-185/+285 * Free the temporary error text.Hans Petter Jansson2003-04-162-0/+5 * Set the correct border width and vbox spacing to be HIG compliant. FixesJeffrey Stedfast2003-04-163-4/+18 * create a stock cancel button with a cancel all text. (build_dialogue):Not Zed2003-04-153-4/+21 * add proper defaults for the fonts settings.Larry Ewing2003-04-152-1/+8 * Fixes bug #41243.Jeffrey Stedfast2003-04-123-337/+319 * Add padding around the entry/checkbox and change the border width of theJeffrey Stedfast2003-04-122-2/+10 * Change the action button ordering and also change the padding to complyJeffrey Stedfast2003-04-112-15/+24 * Change the padding to comply with the GNOME HIG. Fixes bug #41001.Jeffrey Stedfast2003-04-112-11/+18 * ** See bug #40921Not Zed2003-04-093-32/+117 * set sensitivity of font pickers based on share setting.Larry Ewing2003-04-096-161/+356 * Add a check for a NULL uid here. Don't see how it can happen, but it seemsJeffrey Stedfast2003-04-092-1/+7 * Remove color specs from the druid so it will use the theme colorsDan Winship2003-04-082-25/+3 * Fix bad XML noticed by Not ZedDan Winship2003-04-084-6/+13 * swap button order. For #40900.Not Zed2003-04-082-2/+7 * For string columns, never return NULL - always return "" if the value isJeffrey Stedfast2003-04-082-12/+20 * Set the "script" data on the GtkEntry to NULL. (sig_add_script_response):Jeffrey Stedfast2003-04-082-11/+47 * use e_iconv_locale_languageRadek Doulik2003-04-082-2/+6 * Clean up server namesDan Winship2003-04-088-53/+76 * ** Bug 40536Not Zed2003-04-074-15/+28 * added "folder_type" parameter to EvolutionImporterLoadFileFn.Rodrigo Moya2003-04-036-3/+16 * Only clear the Mail passwords.Not Zed2003-04-022-2/+4 * Don't allow the 'prefix' argument to make_safe_filename() be NULL. If weJeffrey Stedfast2003-04-022-5/+15 * Call composer_check_autosave if we're going interactive, to check forNot Zed2003-04-022-0/+10 * if we're called and the idle handler is set, remove it, so we dont go andNot Zed2003-04-012-1/+13 * Properly init message_list. Fixed a type-o that initialized it to theJeffrey Stedfast2003-04-012-1/+6 * need to check for config_service != NULL, not service != NULL beforeNot Zed2003-03-314-2/+16 * Declare a prototype for this function prior to fe_got_children() so thatJeffrey Stedfast2003-03-292-0/+9 * remove extra arg to camel_url_encodeDan Winship2003-03-272-1/+6 * dont set the paned initial size here, but hook onto the realize signal.Not Zed2003-03-272-6/+19 * Fixes bug #40074.Jeffrey Stedfast2003-03-274-0/+23 * Fixes for bug #39870Jeffrey Stedfast2003-03-272-64/+74 * If the CamelFolderInfo node doesn't have \NoInferriors set, then check forJeffrey Stedfast2003-03-272-4/+13 * Undo jeff's patch below for #40275, the destroy timeout is already removedNot Zed2003-03-262-23/+22 * Remove the timeout. Should fix bug #40275.Jeffrey Stedfast2003-03-262-0/+8 * Remove search entry which never worked right (and can't work as usersJeffrey Stedfast2003-03-263-219/+24 * Update for e_notice move (apply_changes): Pass a parent_window to e_noticeDan Winship2003-03-258-10/+18 * Update prototypeDan Winship2003-03-252-1/+6 * strdup the key before freeing the url as it is probably pointing there.Not Zed2003-03-252-1/+7 * remove a debug printf that made it in a commit.Not Zed2003-03-242-1/+3 * Load per-folder setting of show_preview from meta data.Not Zed2003-03-248-19/+139 * pass FALSE for e_destination_get_textrep's include_email arg.Chris Toshok2003-03-232-2/+6 * Default to the charset provied in the MimePart's Content-Type over that ofJeffrey Stedfast2003-03-222-2/+11 * "en_us" should not be translated. Fixes bug #40088.Jeffrey Stedfast2003-03-222-1/+6 * remember to disconnect the destroy handler if whenever the loader is shutLarry Ewing2003-03-212-0/+7 * Change the message_destroy callback to just gtk_widget_destroy. No need toJeffrey Stedfast2003-03-212-7/+6 * Don't forget to add the signature to the signature list if it is a validJeffrey Stedfast2003-03-212-1/+6 * Make sure we can find the registered handler before trying to remove itJeffrey Stedfast2003-03-212-4/+11 * Make the 5th argument to gtk_message_dialog_new() "%s" and move theJeffrey Stedfast2003-03-212-1/+20 * Remove this since there's a function in CamelMimeMessage to do it now.Dan Winship2003-03-212-68/+7 * updated for gnome spell API 0.3Radek Doulik2003-03-202-5/+5 * ** for mail part of bug #38461.Not Zed2003-03-208-316/+276 * removed a dead header fileJeffrey Stedfast2003-03-201-1/+0 * Revert ettore's broken patch.Jeffrey Stedfast2003-03-204-248/+1 * Revert ettore's broken patch.Jeffrey Stedfast2003-03-203-7/+11 * Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692]Ettore Perazzoli2003-03-203-2/+10 * (mail_config_druid_new): Give the druid theEttore Perazzoli2003-03-202-0/+6 * changed default language to en_us instead of enRadek Doulik2003-03-192-1/+34 * e_msg_composer_get_subject() now returns a const char *, so updateJeffrey Stedfast2003-03-192-5/+8 * fix leak, cleanup variable name, and call gtk_window_set_transient_forLarry Ewing2003-03-192-6/+15 * Set the type hint to DIALOG so that Metacity shows this window on top.Jeffrey Stedfast2003-03-192-3/+12 * validate rule & rule is unique. Workaround for #39464. Should this justNot Zed2003-03-182-0/+23 * unhook from the html engine signals here, before we redisplay the message.Not Zed2003-03-182-7/+16 * use a hack to find out if the message-list was focussed before weNot Zed2003-03-183-3/+26 * (mail_signature_editor): Give the editorEttore Perazzoli2003-03-182-0/+6 * If we fail to load the pixbuf, don't use it (stops some g_warnings).Jeffrey Stedfast2003-03-182-0/+20 * Part of a fix for bug #39809Jeffrey Stedfast2003-03-183-3/+9 * Lookup the handler for the type. If we don't have a registered handler orJeffrey Stedfast2003-03-184-1/+23 * Update for EvolutionStorage changeDan Winship2003-03-152-9/+10 * reverted mail-display.c and mail-format.c fixes - pondering better fixesJeffrey Stedfast2003-03-143-45/+10 * Security vulnerability fixes.Jeffrey Stedfast2003-03-132-0/+12 * Security vulnerability fixes.Jeffrey Stedfast2003-03-132-10/+33 * revert a commit that I didn't mean to doJeffrey Stedfast2003-03-131-4/+4 * Rewritten to do the same as the composer's build_message() code.Jeffrey Stedfast2003-03-132-35/+69 * Various small fixes leading up to a real fix.Jeffrey Stedfast2003-03-133-26/+41 * Use gtk_window_set_transient_for() on the druid with the settings dialogJeffrey Stedfast2003-03-122-3/+18 * Remove the yes/no buttons. Fixes bug #39382.Jeffrey Stedfast2003-03-112-1/+4 * New callback function to handle the checkbox getting toggled.Jeffrey Stedfast2003-03-112-4/+62 * Fix the response code, because some bastard changed the filter/* code andNot Zed2003-03-102-1/+7 * Removed the debug printf. Added a case for the composer. Part of fixingNot Zed2003-03-102-2/+6 * removed main.c from the build.Not Zed2003-03-104-35/+9 * removed erroneous static prototype (it is now supposed to be a public symbol)Jeffrey Stedfast2003-03-081-4/+0 * All this snot just to fix bug #38925 and an attempt to fix bug #38926 (butJeffrey Stedfast2003-03-089-130/+186 * If the part url is a text part, useJeffrey Stedfast2003-03-084-25/+30 * (mail_accounts_treeview_new): Set theEttore Perazzoli2003-03-072-0/+6 * Add some spacing to the buttons. [#38227]Ettore Perazzoli2003-03-072-0/+5 * Use G_GNUC_FUNCTION instead of __FUNCTION__. (OUT): Likewise. Likewise.Ettore Perazzoli2003-03-075-8/+20 * #include <string.h>Jeffrey Stedfast2003-03-062-0/+4 * Don't use __inline__ as not all platforms/compilers support this keyword.Jeffrey Stedfast2003-03-062-2/+8 * remove debug printf.Not Zed2003-03-052-2/+4 * Removed old quit code. (owner_unset_cb): Make this call synchronous. WontNot Zed2003-03-052-37/+53 * Prototype some functions to shut the compiler up.Jeffrey Stedfast2003-03-052-1/+9 * changed the button order to be HIG compliantJeffrey Stedfast2003-03-051-286/+297 * Go back to using e_destination_get_address() but use the camel-addressJeffrey Stedfast2003-03-052-10/+30 * Use 'filename' when creating the uri rather than using the uninitialisedJeffrey Stedfast2003-03-042-3/+9 * Do the same as below for request_password, so we dont leave a mainloopNot Zed2003-03-032-9/+22 * Remove the e_tree_memory_sort_node, currently it crashes inside gal, theNot Zed2003-03-032-3/+11 * Reverted back to using e-iconvJeffrey Stedfast2003-02-273-8/+12 * add a repo_id and a priority level to the startup wizardDan Winship2003-02-272-0/+12 * Reverted back to using e-iconv instead of camel-iconv.Jeffrey Stedfast2003-02-262-2/+8 * Update for new EvolutionWizard interfaces.Dan Winship2003-02-252-19/+26 * Redo this to not use the CORBA interfaces in the local case (inDan Winship2003-02-257-756/+485 * Make sure m->config_service is non-NULL before usingJeffrey Stedfast2003-02-253-3/+12 * Don't always append "[script]" to the signature name. Also cleaned up someJeffrey Stedfast2003-02-252-10/+23 * fixed the purple druid pagesJeffrey Stedfast2003-02-251-15/+15 * fix the g_snprintf stuff.Not Zed2003-02-244-77/+29 * Set the local provider description field to a string rather than NULL toJeffrey Stedfast2003-02-232-1/+7 * bitwise-or in CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES to fix bug #38499.Jeffrey Stedfast2003-02-232-2/+7 * New overloaded virtual method, does what dialog_destroy_cb was trying toJeffrey Stedfast2003-02-234-77/+87 * Don't try to get a FontPrefs control.Hans Petter Jansson2003-02-224-3/+16 * Make libversit a shared library, update stuff for that, and clean upDan Winship2003-02-223-8/+8 * Use tables instead of vboxes, so that groups of label/entry pairs (as inDan Winship2003-02-225-73/+113 * fixed a type-oJeffrey Stedfast2003-02-211-1/+1 * Use camel_folder_free_uids().Jeffrey Stedfast2003-02-212-6/+11 * Use camel_charset_canonical_name() here instead of e_iconv_charset_name().Jeffrey Stedfast2003-02-214-9/+23 * Make libemiscwidgets, libefilterbar, and libetimezonedialog dynamicDan Winship2003-02-212-2/+8 * ignore more generated stuffChris Toshok2003-02-201-0/+1 * ?Jeffrey Stedfast2003-02-201-5/+2 * add .server.in filesDan Winship2003-02-201-1/+4 * Fixed a memory leak - make sure to free all uids.Jeffrey Stedfast2003-02-192-1/+6 * fixes to my last commitJeffrey Stedfast2003-02-191-18/+17 * Removed. (lookup_signature): Removed. (xml_get_int): Removed.Jeffrey Stedfast2003-02-194-146/+52 * Change the logic here slightly. Instead of only reprompting the user ifJeffrey Stedfast2003-02-152-9/+32 * #include <stdio.h>Jeffrey Stedfast2003-02-145-15/+36 * Removed unused variables.Jeffrey Stedfast2003-02-135-59/+25 * Use gtk_window_set_resizable() instead of gtk_window_set_policy().Jeffrey Stedfast2003-02-126-35/+25 * Register a destroy virtual method. (mail_accounts_tab_destroy): SetJeffrey Stedfast2003-02-125-29/+51 * Set mail_display->destroyed = TRUE. This is a workaround for theJeffrey Stedfast2003-02-123-13/+15 * Use g_signal_emit() rather than gtk_signal_emit(). (build_flat): SameJeffrey Stedfast2003-02-1112-63/+63 * Split the ORBit IDL compilation rules to work properly with parallelEttore Perazzoli2003-02-113-13/+39 * Add LDFLAGS to ported libsRodney Dawes2003-02-102-0/+10 * look in the http cache for images when saving (image_save_as): removeLarry Ewing2003-02-102-24/+40 * don't use random memory as a gconf client.Larry Ewing2003-02-082-0/+6 * track change to e_book_load_uri type.Chris Toshok2003-02-072-3/+6 * (on_right_click): UseEttore Perazzoli2003-02-072-1/+7 * Fix EVOLUTION_ICONSDIRDan Winship2003-02-072-2/+3 * add EVOLUTION_PRIVDATADIRDan Winship2003-02-079-9/+25 * s/PACKAGE/GETTEXT_PACKAGE/ in gettext initDan Winship2003-02-072-2/+4 * Remove *dir defs that are in configure.in now (INCLUDES): clean up usingDan Winship2003-02-074-38/+44 * add an activate handler to the entry so that hitting return will return anLarry Ewing2003-02-062-0/+13 * s/glade_gnome_init/glade_init/Dan Winship2003-02-062-1/+5 * update from ../../importers/. (main): Removed.Not Zed2003-02-056-15/+3661 * fixed button/text mismatchesJeffrey Stedfast2003-02-051-17/+17 * removed broken stringsJeffrey Stedfast2003-02-051-301/+335 * updated for e scroll frame --> gtk scrolled windowRadek Doulik2003-02-052-3/+3 * Get the thread_subject setting here instead of in regen_list_regen sinceJeffrey Stedfast2003-02-042-7/+13 * Just use gnome_vfs_get_mime_type_from_name() so we can forget all the crapJeffrey Stedfast2003-02-041-9/+7 * Just use gnome_vfs_get_mime_type_from_name() so we can forget all the crapJeffrey Stedfast2003-02-043-19/+29 * New function to return a cached list of labels.Jeffrey Stedfast2003-02-017-178/+210 * Change strcmp(fi->path, path) to strcmp(fi->name, name) and now theJeffrey Stedfast2003-01-282-2/+10 * Fixed a #warning by converting a local path into a file: uri beforeJeffrey Stedfast2003-01-285-6/+31 * removed a FIXME commentJeffrey Stedfast2003-01-272-1/+5 * Set the paned_size here.Jeffrey Stedfast2003-01-254-110/+22 * (iconsdir): Remove, this is now defined inEttore Perazzoli2003-01-252-1/+5 * transfer the current acount info, which will be regarded as the sender ofleon.zhang2003-01-24