Factor out code from set_print into a function to get a printable

representation of a setting.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4470 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2007-04-29 11:20:36 +00:00 committed by exg
commit 983ee1db88
3 changed files with 26 additions and 20 deletions

View file

@ -55,6 +55,7 @@ int settings_get_bool(const char *key);
int settings_get_time(const char *key); /* as milliseconds */
int settings_get_level(const char *key);
int settings_get_size(const char *key); /* as bytes */
char *settings_get_print(SETTINGS_REC *rec);
/* Functions to add/remove settings */
void settings_add_str_module(const char *module, const char *section,