/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | StatisticsManager.cpp | 17 ShareStatistics(const char* share) in ShareStatistics() argument 18 : fShare(share), in ShareStatistics() 167 StatisticsManager::ShareRemoved(Share* share) in ShareRemoved() argument 169 if (!share) in ShareRemoved() 174 ShareStatistics* statistics = fShareStatistics->Remove(share->GetName()); in ShareRemoved() 180 StatisticsManager::ShareMounted(Share* share, User* user) in ShareMounted() argument 182 if (!share || !user) in ShareMounted() 188 ShareStatistics* statistics = fShareStatistics->Get(share->GetName()); in ShareMounted() 191 statistics = new(std::nothrow) ShareStatistics(share->GetName()); in ShareMounted() 196 if (fShareStatistics->Put(share->GetName(), statistics) != B_OK) { in ShareMounted() [all …]
|
H A D | StatisticsManager.h | 26 void ShareRemoved(Share* share); 28 void ShareMounted(Share* share, User* user); 29 void ShareUnmounted(Share* share, User* user); 36 status_t GetShareStatistics(Share* share, 38 status_t GetShareStatistics(const char* share,
|
H A D | SecurityContext.cpp | 477 Share* share = it.Next().value; in ~SecurityContext() local 478 share->ReleaseReference(); in ~SecurityContext() 512 Share* share = it.Next().value; in Archive() local 514 error = share->Archive(&shareArchive, deep); in Archive() 778 Share* share = new(std::nothrow) Share; in AddShare() local 779 if (!share) in AddShare() 781 BReference<Share> shareReference(share, true); in AddShare() 782 status_t error = share->Init(name, ref); in AddShare() 787 error = fShares->Put(name, share); in AddShare() 793 *_share = share; in AddShare() [all …]
|
H A D | NetFSServer.cpp | 473 const char* share; in MessageReceived() local 475 if (message->FindString("share", &share) != B_OK in MessageReceived() 482 status_t error = fSecurityContext->AddShare(share, path); in MessageReceived() 501 Share* share; in MessageReceived() local 502 status_t error = fSecurityContext->RemoveShare(shareName, &share); in MessageReceived() 510 connection->ShareRemoved(share); in MessageReceived() 513 share->ReleaseReference(); in MessageReceived() 551 Share* share = fSecurityContext->FindShare(shareName); in MessageReceived() local 552 if (!share) { in MessageReceived() 556 BReference<Share> shareReference(share, true); in MessageReceived() [all …]
|
H A D | SecurityContext.h | 98 Share** share = NULL); 100 Share** share = NULL); 102 Share** share = NULL); 103 status_t RemoveShare(Share* share);
|
H A D | ClientVolume.cpp | 76 ClientVolume::Mount(UserSecurityContext* securityContext, Share* share) in Mount() argument 78 if (!securityContext || !share) in Mount() 86 fShare = share; in Mount() 88 dev_t volumeID = share->GetVolumeID(); in Mount() 89 ino_t nodeID = share->GetNodeID(); in Mount()
|
H A D | ClientConnection.h | 51 void ShareRemoved(Share* share); 52 void UserPermissionsChanged(Share* share,
|
H A D | ClientVolume.h | 43 Share* share);
|
/haiku/src/add-ons/kernel/file_systems/netfs/netfs_server_prefs/ |
H A D | NetFSServerRoster.cpp | 185 NetFSServerRoster::AddShare(const char* share, const char* path) in AddShare() argument 188 if (!share || strlen(share) < 1 || !path || strlen(path) < 1) in AddShare() 193 if (request.AddString("share", share) != B_OK in AddShare() 204 NetFSServerRoster::RemoveShare(const char* share) in RemoveShare() argument 207 if (!share || strlen(share) < 1) in RemoveShare() 212 if (request.AddString("share", share) != B_OK) in RemoveShare() 245 NetFSServerRoster::GetShareUsers(const char* share, BMessage* users) in GetShareUsers() argument 248 if (!share || strlen(share) < 1 || !users) in GetShareUsers() 253 if (request.AddString("share", share) != B_OK) in GetShareUsers() 271 NetFSServerRoster::GetShareStatistics(const char* share, BMessage* statistics) in GetShareStatistics() argument [all …]
|
H A D | NetFSServerRoster.h | 29 status_t AddShare(const char* share, const char* path); 30 status_t RemoveShare(const char* share); 32 status_t GetShareUsers(const char* share, 34 status_t GetShareStatistics(const char* share, 38 status_t SetUserPermissions(const char* share, 40 status_t GetUserPermissions(const char* share,
|
H A D | NetFSServerPrefs.cpp | 156 const char* share; in list() local 157 for (int32 i = 0; shares.FindString("shares", i, &share) == B_OK; i++) { in list() 165 roster.GetShareUsers(share, &shareUsers); in list() 169 roster.GetShareStatistics(share, &statistics); in list() 171 printf("%s:\n", share); in list() 186 roster.GetUserPermissions(share, user, &permissions); in list() 309 set_user_permissions(const char* user, const char* share, uint32 permissions) in set_user_permissions() argument 323 if (roster.GetShareStatistics(share, &statistics) != B_OK) { in set_user_permissions() 324 fprintf(stderr, "A share `%s' does not exist.\n", share); in set_user_permissions() 329 status_t error = roster.SetUserPermissions(share, user, permissions); in set_user_permissions() [all …]
|
/haiku/src/add-ons/kernel/file_systems/netfs/authentication_server/ |
H A D | AuthenticationServer.cpp | 145 status_t SetAuthentication(const char* share, const char* user, in SetAuthentication() argument 150 Authentication* authentication = fAuthentications.Get(share); in SetAuthentication() 159 error = fAuthentications.Put(share, authentication); in SetAuthentication() 165 Authentication* GetAuthentication(const char* share) const in GetAuthentication() 167 return fAuthentications.Get(share); in GetAuthentication() 187 const char* context, const char* server, const char* share, in UserDialogTask() argument 194 fShare(share), in UserDialogTask() 333 const char* share = NULL; in _RequestThread() local 337 request.FindString("share", &share); in _RequestThread() 339 if (!context || !server || !share) in _RequestThread() [all …]
|
H A D | AuthenticationServer.h | 22 const char* server, const char* share, 25 const char* server, const char* share,
|
H A D | AuthenticationPanel.cpp | 87 const char* share, in GetAuthentication() argument 97 helper << (share ? share : "<unkown share>"); in GetAuthentication()
|
H A D | AuthenticationPanel.h | 22 const char* share,
|
/haiku/src/add-ons/kernel/file_systems/netfs/ |
H A D | netfs-server | 13 share ttttt { 20 share sub-ttttt { 27 #share home { 34 #share tmp {
|
/haiku/src/add-ons/kernel/file_systems/netfs/client/ |
H A D | AuthenticationServer.cpp | 34 const char* share, uid_t uid, bool badPassword, in GetAuthentication() argument 39 if (!context || !server || !share || !_foundPassword) in GetAuthentication() 54 error = request.AddString("share", share); in GetAuthentication()
|
H A D | AuthenticationServer.h | 16 const char* server, const char* share,
|
/haiku/data/system/boot/ |
H A D | SetupEnvironment | 65 # defaults to ~/.local/share 75 # default to /usr/local/share/:/usr/share/
|
/haiku/3rdparty/os_probe/ |
H A D | 83haiku | 10 . /usr/share/os-prober/common.sh
|
/haiku/src/system/libroot/posix/glibc/locale/ |
H A D | Jamfile | 3 SubDirCcFlags -D_GNU_SOURCE -DUSE_IN_LIBIO -DLOCALEDIR=\'\"/share/locale\"\' ;
|
/haiku/docs/develop/busses/agp_gart/ |
H A D | ReadMe.rst | 4 The GART is an IO-MMU allowing the videocard and CPU to share some
|
/haiku/3rdparty/docker/bootstrap/ |
H A D | Dockerfile | 24 RUN echo "source /usr/share/vim/vim80/defaults.vim" > ~/.vimrc
|
H A D | Dockerfile.fedora | 24 RUN echo "source /usr/share/vim/vim80/defaults.vim" > ~/.vimrc
|
/haiku/docs/develop/packages/ |
H A D | DirectoryStructure.rst | 44 - ``share`` and ``etc`` (in ``common``) have been removed. Their contents goes
|