Changeset 578e5b0 for lib/misc.h


Ignore:
Timestamp:
2015-05-14T16:08:06Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Children:
600e09c
Parents:
4225bec
Message:

Try to send settings as native types instead of always strings.

This is still ugly for most settings not owned by the plugin but that's
simply how this is implemented in BitlBee. Let's see how annoying and
painful this is really going to be.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/misc.h

    r4225bec r578e5b0  
    137137G_MODULE_EXPORT void random_bytes(unsigned char *buf, int count);
    138138
    139 G_MODULE_EXPORT int is_bool(char *value);
    140 G_MODULE_EXPORT int bool2int(char *value);
     139G_MODULE_EXPORT int is_bool(const char *value);
     140G_MODULE_EXPORT int bool2int(const char *value);
    141141
    142142G_MODULE_EXPORT struct ns_srv_reply **srv_lookup(char *service, char *protocol, char *domain);
Note: See TracChangeset for help on using the changeset viewer.