RDFUtil_SetNewBookmarkFolder(RDF_Resource container) { RDFUtil_SetFirstInstance(gNavCenter->RDF_NewBookmarkFolderCategory, container);
RDF_AddCookieResource(char* name, char* path, char* host, char* expires) { char* url = getMem(strlen(name) + strlen(host)); RDF_Resource ru; RDF_Resource hostUnit = RDF_GetResource(NULL, host, 0); if (!hostUnit) { hostUnit = RDF_GetResource(NULL, host, 1); setContainerp(hostUnit, 1); setResourceType(hostUnit, COOKIE_RT); remoteStoreAdd(gCookieStore, hostUnit, gCoreVocab->RDF_parent, gNavCenter->RDF_Cookies, RDF_RESOURCE_TYPE, 1); } sprintf(url, "cookie:%s!%s!%s", host, path,  name); ru = RDF_GetResource(NULL, url, 1); setResourceType(ru, COOKIE_RT); remoteStoreAdd(gCookieStore, ru, gCoreVocab->RDF_parent, hostUnit, RDF_RESOURCE_TYPE, 1);
PR_PUBLIC_API(void)RDFUtil_SetNewBookmarkFolder(RDF_Resource container){  RDFUtil_SetFirstInstance(gNavCenter->RDF_NewBookmarkFolderCategory, container);}