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 libppp headers ] ;
|
||||||
UseHeaders [ FDirName $(OBOS_TOP) src add-ons kernel network ppp shared libkernelppp 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 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 :
|
Server net_server :
|
||||||
@@ -23,16 +18,6 @@ Server net_server :
|
|||||||
# built-in add-ons
|
# built-in add-ons
|
||||||
PPPServer.cpp
|
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)
|
# old net_server (was a netstack tester app)
|
||||||
# userland_server.c
|
# userland_server.c
|
||||||
# userland_ipc.c
|
# userland_ipc.c
|
||||||
@@ -42,5 +27,8 @@ LinkSharedOSLibs net_server :
|
|||||||
be
|
be
|
||||||
libsocket.so
|
libsocket.so
|
||||||
libbind.so
|
libbind.so
|
||||||
|
|
||||||
|
# for PPP
|
||||||
|
libdunview.a
|
||||||
libppp.a
|
libppp.a
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
//-----------------------------------------------------------------------
|
/*
|
||||||
// This software is part of the OpenBeOS distribution and is covered
|
* Copyright 2004, Waldemar Kornewald <[email protected]>
|
||||||
// by the OpenBeOS license.
|
* Distributed under the terms of the MIT License.
|
||||||
//
|
*/
|
||||||
// Copyright (c) 2004 Waldemar Kornewald, [email protected]
|
|
||||||
//-----------------------------------------------------------------------
|
|
||||||
|
|
||||||
#include "NetServer.h"
|
#include "NetServer.h"
|
||||||
#include <Application.h>
|
#include <Application.h>
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
//-----------------------------------------------------------------------
|
/*
|
||||||
// This software is part of the OpenBeOS distribution and is covered
|
* Copyright 2004, Waldemar Kornewald <[email protected]>
|
||||||
// by the OpenBeOS license.
|
* Distributed under the terms of the MIT License.
|
||||||
//
|
*/
|
||||||
// Copyright (c) 2004 Waldemar Kornewald, [email protected]
|
|
||||||
//-----------------------------------------------------------------------
|
|
||||||
|
|
||||||
#ifndef _NET_SERVER__H
|
#ifndef _NET_SERVER__H
|
||||||
#define _NET_SERVER__H
|
#define _NET_SERVER__H
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
//-----------------------------------------------------------------------
|
/*
|
||||||
// This software is part of the OpenBeOS distribution and is covered
|
* Copyright 2004, Waldemar Kornewald <[email protected]>
|
||||||
// by the OpenBeOS license.
|
* Distributed under the terms of the MIT License.
|
||||||
//
|
*/
|
||||||
// Copyright (c) 2004 Waldemar Kornewald, [email protected]
|
|
||||||
//-----------------------------------------------------------------------
|
|
||||||
|
|
||||||
#include "PPPServer.h"
|
#include "PPPServer.h"
|
||||||
#include "SimpleMessageFilter.h"
|
#include "SimpleMessageFilter.h"
|
||||||
@@ -47,8 +45,6 @@ PPPServer::MessageReceived(BMessage *message)
|
|||||||
HandleReportMessage(message);
|
HandleReportMessage(message);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// TODO: handle
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
BHandler::MessageReceived(message);
|
BHandler::MessageReceived(message);
|
||||||
}
|
}
|
||||||
@@ -90,7 +86,7 @@ PPPServer::HandleReportMessage(BMessage *message)
|
|||||||
switch(code) {
|
switch(code) {
|
||||||
case PPP_REPORT_GOING_UP: {
|
case PPP_REPORT_GOING_UP: {
|
||||||
if(AskBeforeDialing(id)) {
|
if(AskBeforeDialing(id)) {
|
||||||
// OpenDialRequestWindow(id, sender);
|
OpenDialRequestWindow(id, sender);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
@@ -101,3 +97,10 @@ PPPServer::HandleReportMessage(BMessage *message)
|
|||||||
|
|
||||||
send_data(sender, B_OK, NULL, 0);
|
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
|
* Copyright 2004, Waldemar Kornewald <[email protected]>
|
||||||
// by the OpenBeOS license.
|
* Distributed under the terms of the MIT License.
|
||||||
//
|
*/
|
||||||
// Copyright (c) 2004 Waldemar Kornewald, [email protected]
|
|
||||||
//-----------------------------------------------------------------------
|
|
||||||
|
|
||||||
#ifndef _PPP_SERVER__H
|
#ifndef _PPP_SERVER__H
|
||||||
#define _PPP_SERVER__H
|
#define _PPP_SERVER__H
|
||||||
@@ -27,6 +25,7 @@ class PPPServer : public BHandler {
|
|||||||
bool AskBeforeDialing(ppp_interface_id id);
|
bool AskBeforeDialing(ppp_interface_id id);
|
||||||
|
|
||||||
void HandleReportMessage(BMessage *message);
|
void HandleReportMessage(BMessage *message);
|
||||||
|
void OpenDialRequestWindow(ppp_interface_id id, thread_id sender);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
SimpleMessageFilter *fFilter;
|
SimpleMessageFilter *fFilter;
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
//-----------------------------------------------------------------------
|
/*
|
||||||
// This software is part of the OpenBeOS distribution and is covered
|
* Copyright 2004, Waldemar Kornewald <[email protected]>
|
||||||
// by the OpenBeOS license.
|
* Distributed under the terms of the MIT License.
|
||||||
//
|
*/
|
||||||
// Copyright (c) 2004 Waldemar Kornewald, [email protected]
|
|
||||||
//-----------------------------------------------------------------------
|
|
||||||
|
|
||||||
/*! \class SimpleMessageFilter
|
/*! \class SimpleMessageFilter
|
||||||
\brief This is a BMessageFilter that can filter multiple \a what values.
|
\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
|
* Copyright 2004, Waldemar Kornewald <[email protected]>
|
||||||
// by the OpenBeOS license.
|
* Distributed under the terms of the MIT License.
|
||||||
//
|
*/
|
||||||
// Copyright (c) 2004 Waldemar Kornewald, [email protected]
|
|
||||||
//-----------------------------------------------------------------------
|
|
||||||
|
|
||||||
#ifndef _SIMPLE_MESSAGE_FILTER__H
|
#ifndef _SIMPLE_MESSAGE_FILTER__H
|
||||||
#define _SIMPLE_MESSAGE_FILTER__H
|
#define _SIMPLE_MESSAGE_FILTER__H
|
||||||
|
|||||||
Reference in New Issue
Block a user