exit (1);
}
- retval = mapistore_add_context(mstore_ctx, "sqlite:///tmp/test.db", -1, &context_id, &root_folder);
+ retval = mapistore_add_context(mstore_ctx, "openchange", "sqlite:///tmp/test.db", -1, &context_id, &root_folder);
if (retval != MAPISTORE_SUCCESS) {
DEBUG(0, ("%s\n", mapistore_errstr(retval)));
exit (1);
}
- retval = mapistore_add_context(mstore_ctx, "sqlite:///tmp/test2.db", -1, &context_id2, &root_folder);
+ retval = mapistore_add_context(mstore_ctx, "openchange", "sqlite:///tmp/test2.db", -1, &context_id2, &root_folder);
if (retval != MAPISTORE_SUCCESS) {
DEBUG(0, ("%s\n", mapistore_errstr(retval)));
exit (1);
DEBUG(0, ("Context ID: [1] = %d and [2] = %d\n", context_id, context_id2));
- retval = mapistore_add_context(mstore_ctx, "fsocpf:///tmp/fsocpf", -1, &context_id3, &root_folder);
+ retval = mapistore_add_context(mstore_ctx, "openchange", "fsocpf:///tmp/fsocpf", -1, &context_id3, &root_folder);
if (retval != MAPISTORE_SUCCESS) {
DEBUG(0, ("%s\n", mapistore_errstr(retval)));
exit (1);
exit (1);
}
- retval = mapistore_add_context(output_ctx.mstore_ctx, root_folder, output_ctx.root_fid, &(output_ctx.mapistore_context_id), &output_ctx.root_folder);
+ retval = mapistore_add_context(output_ctx.mstore_ctx, "openchange", root_folder, output_ctx.root_fid, &(output_ctx.mapistore_context_id), &output_ctx.root_folder);
if (retval != MAPISTORE_SUCCESS) {
DEBUG(0, ("%s\n", mapistore_errstr(retval)));
exit (1);