Lines Matching defs:signature

106 			memcpy(info->signature, flatInfo->signature, B_MIME_TYPE_LENGTH);
308 /*! Finds an app by signature on any mounted volume.
310 \param signature The app's signature.
316 \retval B_BAD_VALUE: \c NULL \a signature or \a appRef.
317 \retval B_LAUNCH_FAILED_APP_NOT_FOUND: An application with this signature
321 query_for_app(const char* signature, entry_ref* appRef)
323 if (signature == NULL || appRef == NULL)
349 query.PushString(signature);
356 const char* from = signature + length;
418 signature[0] = '\0';
574 BRoster::IsRunning(const char* signature) const
576 return (TeamFor(signature) >= 0);
588 BRoster::TeamFor(const char* signature) const
592 status_t error = GetAppInfo(signature, &info);
647 BRoster::GetAppList(const char* signature, BList* teamIDList) const
650 if (signature == NULL || teamIDList == NULL)
656 error = request.AddString("signature", signature);
676 BRoster::GetAppInfo(const char* signature, app_info* info) const
679 if (signature == NULL || info == NULL)
685 error = request.AddString("signature", signature);
1029 const char* fileType, const char* signature) const
1049 if (error == B_OK && signature)
1050 error = message.AddString("app sig", signature);
1076 const char* signature) const
1097 if (error == B_OK && signature)
1098 error = message.AddString("app sig", signature);
1122 const char* signature) const
1139 if (error == B_OK && signature)
1140 error = message.AddString("app sig", signature);
1203 const char* signature) const
1213 // If no signature is supplied, look up the signature of
1215 if (error == B_OK && signature == NULL) {
1219 callingApplicationSignature = info.signature;
1227 error = message.AddString("app sig", signature != NULL
1228 ? signature : callingApplicationSignature);
1250 const char* signature) const
1260 // If no signature is supplied, look up the signature of
1262 if (error == B_OK && signature == NULL) {
1266 callingApplicationSignature = info.signature;
1275 signature != NULL ? signature : callingApplicationSignature);
1389 A full registration requires \a signature, \a ref, \a flags, \a team,
1393 For a pre-registration \a signature, \a ref, \a flags must be valid.
1404 \param signature The application's signature
1426 BRoster::_AddApplication(const char* signature, const entry_ref* ref,
1434 if (error == B_OK && signature != NULL)
1435 error = request.AddString("signature", signature);
1491 /*! Sets an application's signature.
1497 \param signature The app's new signature.
1505 BRoster::_SetSignature(team_id team, const char* signature) const
1514 if (error == B_OK && signature)
1515 error = request.AddString("signature", signature);
1917 char signature[B_MIME_TYPE_LENGTH];
1918 error = _ResolveApp(mimeType, docRef, &appRef, signature,
1921 signature));
1937 error = _AddApplication(signature, &appRef, appFlags, -1, -1, -1,
2003 BMimeType appType(signature);
2081 application, like signature, app flags and whether the supplied
2092 \a signature is set to a string with length 0, if the found
2093 application has no signature.
2101 \param signature A pointer to a pre-allocated char buffer of at
2102 least size \c B_MIME_TYPE_LENGTH to be filled with the signature of
2149 // respective signature, otherwise unset the app hint
2152 char signature[B_MIME_TYPE_LENGTH];
2154 && appFileInfo.GetSignature(signature) == B_OK) {
2155 if (!strcasecmp(appMeta.Type(), signature)) {
2162 appMeta.SetTo(signature);
2203 signature.
2212 signature of the found application.
2266 // get the app's signature via a BAppFileInfo
2272 // don't worry, if the file doesn't have a signature, just
2354 signature of the found application.
2400 // The type is not installed. We assume it is an app signature.
2475 // Don't add the signature if it's one of the preferred apps
2495 const char* signature;
2497 signatures.FindString(kSigField, i, &signature) == B_OK; i++) {
2498 if (signature[0] == '\0')
2501 error = appMeta->SetTo(signature);
2503 // Check, whether the signature is installed and has an app hint
2751 given signature to the front of the recent apps list.
2754 BRoster::_AddToRecentApps(const char* signature) const
2760 error = request.AddString("app sig", signature);