Seems work with some little different. I used an empty scope because I
don't want to check the key ID (that is different for each MasterKey
right?) and sntl_admin_context_new_scope
take only two args.
- const char *pScopeMaster =
- "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>"
- "<haspscope>"
- "<host>localhost</host>"
- "</haspscope>";
- status_admin = sntl_admin_context_new_scope(&pContext, pScopeMaster);