Home
last modified time | relevance | path

Searched refs:catalogEntry (Results 1 – 5 of 5) sorted by relevance

/haiku/src/kits/storage/mime/
H A DMimeInfoUpdater.cpp154 char catalogEntry[B_MIME_TYPE_LENGTH * 3]; in Do() local
155 err = appFileInfoRead.GetCatalogEntry(catalogEntry); in Do()
157 err = appFileInfoWrite.SetCatalogEntry(catalogEntry); in Do()
/haiku/headers/os/storage/
H A DAppFileInfo.h63 status_t GetCatalogEntry(char* catalogEntry) const;
64 status_t SetCatalogEntry(const char* catalogEntry);
/haiku/src/build/libbe/storage/
H A DAppFileInfo.cpp254 BAppFileInfo::GetCatalogEntry(char* catalogEntry) const in GetCatalogEntry()
256 if (catalogEntry == NULL) in GetCatalogEntry()
264 B_STRING_TYPE, catalogEntry, B_MIME_TYPE_LENGTH * 3, read); in GetCatalogEntry()
272 catalogEntry[read] = '\0'; in GetCatalogEntry()
279 BAppFileInfo::SetCatalogEntry(const char* catalogEntry) in SetCatalogEntry() argument
284 if (catalogEntry == NULL) in SetCatalogEntry()
287 size_t nameLength = strlen(catalogEntry); in SetCatalogEntry()
292 B_STRING_TYPE, catalogEntry, nameLength + 1); in SetCatalogEntry()
/haiku/src/kits/storage/
H A DAppFileInfo.cpp254 BAppFileInfo::GetCatalogEntry(char* catalogEntry) const in GetCatalogEntry()
256 if (catalogEntry == NULL) in GetCatalogEntry()
264 B_STRING_TYPE, catalogEntry, B_MIME_TYPE_LENGTH * 3, read); in GetCatalogEntry()
272 catalogEntry[read] = '\0'; in GetCatalogEntry()
279 BAppFileInfo::SetCatalogEntry(const char* catalogEntry) in SetCatalogEntry() argument
284 if (catalogEntry == NULL) in SetCatalogEntry()
287 size_t nameLength = strlen(catalogEntry); in SetCatalogEntry()
292 B_STRING_TYPE, catalogEntry, nameLength + 1); in SetCatalogEntry()
/haiku/docs/user/storage/
H A DAppFileInfo.dox218 \fn status_t BAppFileInfo::GetCatalogEntry(char *catalogEntry) const
221 \param catalogEntry A pointer to a pre-allocated character buffer of size
228 \retval B_BAD_VALUE \c NULL \a catalogEntry or the entry stored in the
239 \fn status_t BAppFileInfo::SetCatalogEntry(const char* catalogEntry)
242 If \a catalogEntry is \c NULL the file's catalog entry is unset.
244 \param catalogEntry The catalog entry to be assigned to the file.
247 The \a catalogEntry may be \c NULL.
252 \retval B_BAD_VALUE \a catalogEntry is longer than