* Renamed NetFSServer to netfs_server and added .rdef for running it in the
background. * Renamed NetFSServerPrefs to netfs_server_prefs. * Fixed copyright years in authentication_server. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35169 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
63fad9a172
commit
bf365f13aa
@ -15,7 +15,7 @@ resource app_version {
|
||||
internal = 0,
|
||||
|
||||
short_info = "authentication_server",
|
||||
long_info = "authentication_server ©2004-2009 Haiku, Inc"
|
||||
long_info = "authentication_server ©2004-2010 Haiku, Inc"
|
||||
};
|
||||
|
||||
resource vector_icon array {
|
||||
|
@ -6,9 +6,9 @@ SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) headers shared ] ;
|
||||
SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) shared ] ;
|
||||
|
||||
DEFINES += USER=1 ;
|
||||
DEFINES += DEBUG_APP="\\\"NetFSServerPrefs\\\"" ;
|
||||
DEFINES += DEBUG_APP="\\\"netfs_server_prefs\\\"" ;
|
||||
|
||||
Application NetFSServerPrefs
|
||||
Application netfs_server_prefs
|
||||
: DebugSupport.cpp
|
||||
|
||||
NetFSServerRosterDefs.cpp
|
||||
|
@ -20,8 +20,8 @@ static const uint32 kWritePermission
|
||||
|
||||
// usage
|
||||
static const char* kUsage =
|
||||
"Usage: NetFSServerPrefs -h | --help\n"
|
||||
" NetFSServerPrefs <command>\n"
|
||||
"Usage: netfs_server_prefs -h | --help\n"
|
||||
" netfs_server_prefs <command>\n"
|
||||
"options:\n"
|
||||
" -h, --help - print this text\n"
|
||||
"\n"
|
||||
@ -411,7 +411,7 @@ no_more_args(int argc, int argi)
|
||||
int
|
||||
main(int argc, char** argv)
|
||||
{
|
||||
BApplication app("application/x-vnd.yellowbites.NetFSServerPrefs");
|
||||
BApplication app("application/x-vnd.haiku-netfs_server_prefs");
|
||||
|
||||
// parse first argument
|
||||
int argi = 1;
|
||||
|
@ -16,72 +16,76 @@ SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems
|
||||
userlandfs shared ] ;
|
||||
|
||||
DEFINES += USER=1 ;
|
||||
DEFINES += DEBUG_APP="\\\"NetFSServer\\\"" ;
|
||||
DEFINES += DEBUG_APP="\\\"netfs_server\\\"" ;
|
||||
|
||||
Application NetFSServer
|
||||
: DebugSupport.cpp
|
||||
Application netfs_server
|
||||
:
|
||||
DebugSupport.cpp
|
||||
|
||||
driver_settings.c
|
||||
DriverSettings.cpp
|
||||
String.cpp
|
||||
driver_settings.c
|
||||
DriverSettings.cpp
|
||||
String.cpp
|
||||
|
||||
AbstractConnection.cpp
|
||||
AttrDirInfo.cpp
|
||||
Blocker.cpp
|
||||
BlockerPool.cpp
|
||||
Channel.cpp
|
||||
Connection.cpp
|
||||
ConnectionFactory.cpp
|
||||
EntryInfo.cpp
|
||||
FSObject.cpp
|
||||
InsecureChannel.cpp
|
||||
InsecureConnection.cpp
|
||||
NetAddress.cpp
|
||||
NetFSDefs.cpp
|
||||
NetFSServerRosterDefs.cpp
|
||||
NodeInfo.cpp
|
||||
PortChannel.cpp
|
||||
PortConnection.cpp
|
||||
Request.cpp
|
||||
RequestChannel.cpp
|
||||
RequestConnection.cpp
|
||||
RequestDumper.cpp
|
||||
RequestFactory.cpp
|
||||
RequestFlattener.cpp
|
||||
RequestHandler.cpp
|
||||
Requests.cpp
|
||||
RequestUnflattener.cpp
|
||||
ServerInfo.cpp
|
||||
ServerNodeID.cpp
|
||||
TaskManager.cpp
|
||||
ThreadLocal.cpp
|
||||
AbstractConnection.cpp
|
||||
AttrDirInfo.cpp
|
||||
Blocker.cpp
|
||||
BlockerPool.cpp
|
||||
Channel.cpp
|
||||
Connection.cpp
|
||||
ConnectionFactory.cpp
|
||||
EntryInfo.cpp
|
||||
FSObject.cpp
|
||||
InsecureChannel.cpp
|
||||
InsecureConnection.cpp
|
||||
NetAddress.cpp
|
||||
NetFSDefs.cpp
|
||||
NetFSServerRosterDefs.cpp
|
||||
NodeInfo.cpp
|
||||
PortChannel.cpp
|
||||
PortConnection.cpp
|
||||
Request.cpp
|
||||
RequestChannel.cpp
|
||||
RequestConnection.cpp
|
||||
RequestDumper.cpp
|
||||
RequestFactory.cpp
|
||||
RequestFlattener.cpp
|
||||
RequestHandler.cpp
|
||||
Requests.cpp
|
||||
RequestUnflattener.cpp
|
||||
ServerInfo.cpp
|
||||
ServerNodeID.cpp
|
||||
TaskManager.cpp
|
||||
ThreadLocal.cpp
|
||||
|
||||
AttributeDirectory.cpp
|
||||
ClientConnection.cpp
|
||||
ClientVolume.cpp
|
||||
ConnectionListener.cpp
|
||||
ConnectionListenerFactory.cpp
|
||||
Directory.cpp
|
||||
Entry.cpp
|
||||
EntryRef.cpp
|
||||
FDManager.cpp
|
||||
GlobalBlockerPool.cpp
|
||||
InsecureConnectionListener.cpp
|
||||
Lockable.cpp
|
||||
NetFSServer.cpp
|
||||
Node.cpp
|
||||
NodeHandle.cpp
|
||||
NodeHandleMap.cpp
|
||||
NodeMonitor.cpp
|
||||
NodeMonitoringEvent.cpp
|
||||
Path.cpp
|
||||
PortConnectionListener.cpp
|
||||
QueryDomain.cpp
|
||||
RequestBufferReplacer.cpp
|
||||
SecurityContext.cpp
|
||||
StatisticsManager.cpp
|
||||
UserSecurityContext.cpp
|
||||
Volume.cpp
|
||||
VolumeManager.cpp
|
||||
: be $(TARGET_NETWORK_LIBS) $(TARGET_LIBSUPC++) libshared.a
|
||||
AttributeDirectory.cpp
|
||||
ClientConnection.cpp
|
||||
ClientVolume.cpp
|
||||
ConnectionListener.cpp
|
||||
ConnectionListenerFactory.cpp
|
||||
Directory.cpp
|
||||
Entry.cpp
|
||||
EntryRef.cpp
|
||||
FDManager.cpp
|
||||
GlobalBlockerPool.cpp
|
||||
InsecureConnectionListener.cpp
|
||||
Lockable.cpp
|
||||
NetFSServer.cpp
|
||||
Node.cpp
|
||||
NodeHandle.cpp
|
||||
NodeHandleMap.cpp
|
||||
NodeMonitor.cpp
|
||||
NodeMonitoringEvent.cpp
|
||||
Path.cpp
|
||||
PortConnectionListener.cpp
|
||||
QueryDomain.cpp
|
||||
RequestBufferReplacer.cpp
|
||||
SecurityContext.cpp
|
||||
StatisticsManager.cpp
|
||||
UserSecurityContext.cpp
|
||||
Volume.cpp
|
||||
VolumeManager.cpp
|
||||
:
|
||||
be $(TARGET_NETWORK_LIBS) $(TARGET_LIBSUPC++) libshared.a
|
||||
:
|
||||
netfs_server.rdef
|
||||
;
|
||||
|
@ -41,11 +41,11 @@
|
||||
#include "VolumeManager.h"
|
||||
|
||||
static const char* kSettingsDirName = "netfs";
|
||||
static const char* kSettingsFileName = "NetFSServer";
|
||||
static const char* kSettingsFileName = "netfs_server";
|
||||
|
||||
// usage
|
||||
static const char* kUsage =
|
||||
"Usage: NetFSServer <options>\n"
|
||||
"Usage: netfs_server <options>\n"
|
||||
"options:\n"
|
||||
" --dont-broadcast - don't use broadcasting to announce the server's\n"
|
||||
" availability to clients\n"
|
||||
@ -186,25 +186,26 @@ private:
|
||||
|
||||
// constructor
|
||||
NetFSServer::NetFSServer(bool useBroadcasting)
|
||||
: BApplication(kNetFSServerSignature),
|
||||
fSecurityContext(NULL),
|
||||
fConnectionListenerFactory(),
|
||||
fConnectionListener(NULL),
|
||||
fLock("netfs server"),
|
||||
fClientConnections(),
|
||||
fVolumeManager(NULL),
|
||||
fClosedConnections(),
|
||||
fClosedConnectionsSemaphore(-1),
|
||||
fConnectionListenerThread(-1),
|
||||
fConnectionDeleter(-1),
|
||||
fBroadcaster(-1),
|
||||
fBroadcastingSocket(-1),
|
||||
fBroadcasterSemaphore(-1),
|
||||
fServerInfoConnectionListener(-1),
|
||||
fServerInfoConnectionListenerSocket(-1),
|
||||
fServerInfoUpdated(0),
|
||||
fUseBroadcasting(useBroadcasting),
|
||||
fTerminating(false)
|
||||
:
|
||||
BApplication(kNetFSServerSignature),
|
||||
fSecurityContext(NULL),
|
||||
fConnectionListenerFactory(),
|
||||
fConnectionListener(NULL),
|
||||
fLock("netfs server"),
|
||||
fClientConnections(),
|
||||
fVolumeManager(NULL),
|
||||
fClosedConnections(),
|
||||
fClosedConnectionsSemaphore(-1),
|
||||
fConnectionListenerThread(-1),
|
||||
fConnectionDeleter(-1),
|
||||
fBroadcaster(-1),
|
||||
fBroadcastingSocket(-1),
|
||||
fBroadcasterSemaphore(-1),
|
||||
fServerInfoConnectionListener(-1),
|
||||
fServerInfoConnectionListenerSocket(-1),
|
||||
fServerInfoUpdated(0),
|
||||
fUseBroadcasting(useBroadcasting),
|
||||
fTerminating(false)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,21 @@
|
||||
/*
|
||||
* netfs_server.rdef
|
||||
*/
|
||||
|
||||
resource app_signature "application/x-vnd.haiku-netfs_server";
|
||||
|
||||
resource app_flags B_EXCLUSIVE_LAUNCH|B_BACKGROUND_APP;
|
||||
|
||||
resource app_version {
|
||||
major = 1,
|
||||
middle = 0,
|
||||
minor = 0,
|
||||
|
||||
variety = B_APPV_ALPHA,
|
||||
internal = 0,
|
||||
|
||||
short_info = "netfs_server",
|
||||
long_info = "netfs_server ©2004-2010 Haiku, Inc"
|
||||
};
|
||||
|
||||
|
@ -3,4 +3,4 @@
|
||||
#include "NetFSServerRosterDefs.h"
|
||||
|
||||
const char* kNetFSServerSignature
|
||||
= "application/x-vnd.yellowbites.netfs-server";
|
||||
= "application/x-vnd.haiku-netfs_server";
|
||||
|
Loading…
Reference in New Issue
Block a user