Changed license headers. Consider net_server as dead.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10118 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
+3
-15
@@ -7,11 +7,6 @@ UsePrivateHeaders net ;
|
||||
UseHeaders [ FDirName $(OBOS_TOP) src add-ons kernel network ppp shared libppp headers ] ;
|
||||
UseHeaders [ FDirName $(OBOS_TOP) src add-ons kernel network ppp shared libkernelppp headers ] ;
|
||||
UseHeaders [ FDirName $(OBOS_TOP) src tests kits net DialUpPreflet ] ;
|
||||
UseHeaders [ FDirName $(OBOS_TOP) src add-ons kernel network ppp pppoe ] ; # PPPoE
|
||||
UseHeaders [ FDirName $(OBOS_TOP) src add-ons kernel network ppp ipcp ] ; # IPCP
|
||||
|
||||
# additional sources for built-in add-ons:
|
||||
SEARCH_SOURCE += [ FDirName $(OBOS_TOP) src tests kits net DialUpPreflet ] ;
|
||||
|
||||
|
||||
Server net_server :
|
||||
@@ -23,16 +18,6 @@ Server net_server :
|
||||
# built-in add-ons
|
||||
PPPServer.cpp
|
||||
|
||||
# PPPServer needs this
|
||||
DialUpView.cpp
|
||||
InterfaceUtils.cpp
|
||||
MessageDriverSettingsUtils.cpp
|
||||
TextRequestDialog.cpp
|
||||
ConnectionOptionsAddon.cpp
|
||||
GeneralAddon.cpp
|
||||
IPCPAddon.cpp
|
||||
PPPoEAddon.cpp
|
||||
|
||||
# old net_server (was a netstack tester app)
|
||||
# userland_server.c
|
||||
# userland_ipc.c
|
||||
@@ -42,5 +27,8 @@ LinkSharedOSLibs net_server :
|
||||
be
|
||||
libsocket.so
|
||||
libbind.so
|
||||
|
||||
# for PPP
|
||||
libdunview.a
|
||||
libppp.a
|
||||
;
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
//-----------------------------------------------------------------------
|
||||
// This software is part of the OpenBeOS distribution and is covered
|
||||
// by the OpenBeOS license.
|
||||
//
|
||||
// Copyright (c) 2004 Waldemar Kornewald, [email protected]
|
||||
//-----------------------------------------------------------------------
|
||||
/*
|
||||
* Copyright 2004, Waldemar Kornewald <[email protected]>
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
#include "NetServer.h"
|
||||
#include <Application.h>
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
//-----------------------------------------------------------------------
|
||||
// This software is part of the OpenBeOS distribution and is covered
|
||||
// by the OpenBeOS license.
|
||||
//
|
||||
// Copyright (c) 2004 Waldemar Kornewald, [email protected]
|
||||
//-----------------------------------------------------------------------
|
||||
/*
|
||||
* Copyright 2004, Waldemar Kornewald <[email protected]>
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
#ifndef _NET_SERVER__H
|
||||
#define _NET_SERVER__H
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
//-----------------------------------------------------------------------
|
||||
// This software is part of the OpenBeOS distribution and is covered
|
||||
// by the OpenBeOS license.
|
||||
//
|
||||
// Copyright (c) 2004 Waldemar Kornewald, [email protected]
|
||||
//-----------------------------------------------------------------------
|
||||
/*
|
||||
* Copyright 2004, Waldemar Kornewald <[email protected]>
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
#include "PPPServer.h"
|
||||
#include "SimpleMessageFilter.h"
|
||||
@@ -47,8 +45,6 @@ PPPServer::MessageReceived(BMessage *message)
|
||||
HandleReportMessage(message);
|
||||
break;
|
||||
|
||||
// TODO: handle
|
||||
|
||||
default:
|
||||
BHandler::MessageReceived(message);
|
||||
}
|
||||
@@ -90,7 +86,7 @@ PPPServer::HandleReportMessage(BMessage *message)
|
||||
switch(code) {
|
||||
case PPP_REPORT_GOING_UP: {
|
||||
if(AskBeforeDialing(id)) {
|
||||
// OpenDialRequestWindow(id, sender);
|
||||
OpenDialRequestWindow(id, sender);
|
||||
return;
|
||||
}
|
||||
} break;
|
||||
@@ -101,3 +97,10 @@ PPPServer::HandleReportMessage(BMessage *message)
|
||||
|
||||
send_data(sender, B_OK, NULL, 0);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
PPPServer::OpenDialRequestWindow(ppp_interface_id id, thread_id sender)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
//-----------------------------------------------------------------------
|
||||
// This software is part of the OpenBeOS distribution and is covered
|
||||
// by the OpenBeOS license.
|
||||
//
|
||||
// Copyright (c) 2004 Waldemar Kornewald, [email protected]
|
||||
//-----------------------------------------------------------------------
|
||||
/*
|
||||
* Copyright 2004, Waldemar Kornewald <[email protected]>
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
#ifndef _PPP_SERVER__H
|
||||
#define _PPP_SERVER__H
|
||||
@@ -27,6 +25,7 @@ class PPPServer : public BHandler {
|
||||
bool AskBeforeDialing(ppp_interface_id id);
|
||||
|
||||
void HandleReportMessage(BMessage *message);
|
||||
void OpenDialRequestWindow(ppp_interface_id id, thread_id sender);
|
||||
|
||||
private:
|
||||
SimpleMessageFilter *fFilter;
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
//-----------------------------------------------------------------------
|
||||
// This software is part of the OpenBeOS distribution and is covered
|
||||
// by the OpenBeOS license.
|
||||
//
|
||||
// Copyright (c) 2004 Waldemar Kornewald, [email protected]
|
||||
//-----------------------------------------------------------------------
|
||||
/*
|
||||
* Copyright 2004, Waldemar Kornewald <[email protected]>
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
/*! \class SimpleMessageFilter
|
||||
\brief This is a BMessageFilter that can filter multiple \a what values.
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
//-----------------------------------------------------------------------
|
||||
// This software is part of the OpenBeOS distribution and is covered
|
||||
// by the OpenBeOS license.
|
||||
//
|
||||
// Copyright (c) 2004 Waldemar Kornewald, [email protected]
|
||||
//-----------------------------------------------------------------------
|
||||
/*
|
||||
* Copyright 2004, Waldemar Kornewald <[email protected]>
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
#ifndef _SIMPLE_MESSAGE_FILTER__H
|
||||
#define _SIMPLE_MESSAGE_FILTER__H
|
||||
|
||||
Reference in New Issue
Block a user