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)); ...@@ -241,6 +241,7 @@ char *mh_current_folder __P((void));
241 char *mh_global_sequences_get __P((const char *name, const char *defval)); 241 char *mh_global_sequences_get __P((const char *name, const char *defval));
242 int mh_global_sequences_set __P((const char *name, const char *value)); 242 int mh_global_sequences_set __P((const char *name, const char *value));
243 void mh_global_save_state __P((void)); 243 void mh_global_save_state __P((void));
244 int mh_global_profile_iterate __P((mh_context_iterator fp, void *data));
244 int mh_global_context_iterate __P((mh_context_iterator fp, void *data)); 245 int mh_global_context_iterate __P((mh_context_iterator fp, void *data));
245 int mh_global_sequences_iterate __P((mh_context_iterator fp, void *data)); 246 int mh_global_sequences_iterate __P((mh_context_iterator fp, void *data));
246 247
......
...@@ -41,6 +41,12 @@ mh_global_profile_set (const char *name, const char *value) ...@@ -41,6 +41,12 @@ mh_global_profile_set (const char *name, const char *value)
41 return mh_context_set_value (profile, name, value); 41 return mh_context_set_value (profile, name, value);
42 } 42 }
43 43
44 int
45 mh_global_profile_iterate (mh_context_iterator fp, void *data)
46 {
47 return mh_context_iterate (profile, fp, data);
48 }
49
44 void 50 void
45 mh_read_profile () 51 mh_read_profile ()
46 { 52 {
......