void psg_variant_map_set(PSG_VariantMap *m, const char *name, const char *value, unsigned int value_len) { Passenger::VariantMap *vm = (Passenger::VariantMap *) m; vm->set(name, string(value, value_len)); }
void pp_variant_map_set2(PP_VariantMap *m, const char *name, unsigned int name_len, const char *value, unsigned int value_len) { Passenger::VariantMap *vm = (Passenger::VariantMap *) m; vm->set(string(name, name_len), string(value, value_len)); }