Commit 7ea39bc2 7ea39bc249000bde82b94f99f124ae274b7282b2 by Sergey Poznyakoff

(mh_global_profile_iterate): New function

1 parent b198d0ff
......@@ -241,6 +241,7 @@ char *mh_current_folder __P((void));
char *mh_global_sequences_get __P((const char *name, const char *defval));
int mh_global_sequences_set __P((const char *name, const char *value));
void mh_global_save_state __P((void));
int mh_global_profile_iterate __P((mh_context_iterator fp, void *data));
int mh_global_context_iterate __P((mh_context_iterator fp, void *data));
int mh_global_sequences_iterate __P((mh_context_iterator fp, void *data));
......
......@@ -41,6 +41,12 @@ mh_global_profile_set (const char *name, const char *value)
return mh_context_set_value (profile, name, value);
}
int
mh_global_profile_iterate (mh_context_iterator fp, void *data)
{
return mh_context_iterate (profile, fp, data);
}
void
mh_read_profile ()
{
......