nsBookmarksService::AddBookmark(const char *aURI, const PRUnichar *aTitle, PRInt32 aBookmarkType, const PRUnichar *aCharset)
BookmarkParser::AddBookmark(nsCOMPtr<nsIRDFContainer>&  aContainer, const char*      aURL, const PRUnichar* aOptionalTitle, PRInt32          aAddDate, PRInt32          aLastVisitDate, PRInt32          aLastModifiedDate, const char*      aShortcutURL, nsIRDFResource*  aNodeType, nsIRDFResource** bookmarkNode)
nsBookmarksService::AddBookmark(const char *aURI,                                const PRUnichar *aTitle,                                 PRInt32 aBookmarkType,                                const PRUnichar *aCharset){  nsresult rv;  // figure out where to add the new bookmark	nsCOMPtr<nsIRDFResource>	bookmarkFolder = kNC_NewBookmarkFolder;	switch(aBookmarkType)	{		case	BOOKMARK_SEARCH_TYPE:		case	BOOKMARK_FIND_TYPE:		bookmarkFolder = kNC_NewSearchFolder;		break;	}  nsCOMPtr<nsIRDFResource> destinationFolder;  rv = getFolderViaHint(bookmarkFolder, PR_TRUE, getter_AddRefs(destinationFolder));  if (NS_FAILED(rv)) return rv;  return AddBookmarkToFolder(aURI, destinationFolder, aTitle, aCharset);}