a9abcc37cd
* If we have a configured network, then we always try to connect to it as soon as the interface has been brought up. * If we don't have a configured network and are auto configuring, we use the AutoconfigLooper to also do initial auto joins. * Before issuing auto joins we need to wait for scan results to come in, so we watch for corresponding messages. For now auto joining is a one shot attempt as the infrastructure to properly tell reasons for scans apart is not yet there.
26 lines
659 B
C
26 lines
659 B
C
/*
|
|
* Copyright 2006-2010, Haiku, Inc. All Rights Reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors:
|
|
* Axel Dörfler, axeld@pinc-software.de
|
|
*/
|
|
#ifndef _NET_SERVER_H
|
|
#define _NET_SERVER_H
|
|
|
|
|
|
#define kNetServerSignature "application/x-vnd.haiku-net_server"
|
|
|
|
#define kMsgConfigureInterface 'COif'
|
|
#define kMsgConfigureResolver 'COrs'
|
|
#define kMsgCountPersistentNetworks 'CPnw'
|
|
#define kMsgGetPersistentNetwork 'GPnw'
|
|
#define kMsgAddPersistentNetwork 'APnw'
|
|
#define kMsgRemovePersistentNetwork 'RPnw'
|
|
#define kMsgJoinNetwork 'JNnw'
|
|
#define kMsgLeaveNetwork 'LVnw'
|
|
#define kMsgAutoJoinNetwork 'AJnw'
|
|
|
|
|
|
#endif // _NET_SERVER_H
|