Escape arbitrary_text such that it's a valid key element (i.
e. one part of the key path). The escaped key won't pass valid_key because it isn't a whole key (i.e. it doesn't have a preceding slash), but prepending a slash to the escaped text should always result in a valid key.
| arbitrary_text |
some text in any encoding or format |
| len |
length of |
|
a nul-terminated valid GConf key |