183812f67SIngo Weinhold// Request.cpp
283812f67SIngo Weinhold
383812f67SIngo Weinhold#include "Request.h"
483812f67SIngo Weinhold
583812f67SIngo Weinhold// Address
683812f67SIngo Weinhold
783812f67SIngo Weinhold// constructor
883812f67SIngo WeinholdAddress::Address()
983812f67SIngo Weinhold	: fSize(0)
1083812f67SIngo Weinhold{
1183812f67SIngo Weinhold	fUnrelocated.area = -1;
1283812f67SIngo Weinhold	fUnrelocated.offset = 0;
1383812f67SIngo Weinhold}
1483812f67SIngo Weinhold
1583812f67SIngo Weinhold// SetTo
1683812f67SIngo Weinholdvoid
1783812f67SIngo WeinholdAddress::SetTo(area_id area, int32 offset, int32 size)
1883812f67SIngo Weinhold{
1983812f67SIngo Weinhold	fUnrelocated.area = area;
2083812f67SIngo Weinhold	fUnrelocated.offset = offset;
2183812f67SIngo Weinhold	fSize = size;
2283812f67SIngo Weinhold}
2383812f67SIngo Weinhold
2483812f67SIngo Weinhold
2583812f67SIngo Weinhold// Request
2683812f67SIngo Weinhold
2783812f67SIngo Weinhold// constructor
2883812f67SIngo WeinholdRequest::Request(uint32 type)
2983812f67SIngo Weinhold	: fType(type)
3083812f67SIngo Weinhold{
3183812f67SIngo Weinhold}
3283812f67SIngo Weinhold
3383812f67SIngo Weinhold// GetType
3483812f67SIngo Weinholduint32
3583812f67SIngo WeinholdRequest::GetType() const
3683812f67SIngo Weinhold{
3783812f67SIngo Weinhold	return fType;
3883812f67SIngo Weinhold}
3983812f67SIngo Weinhold
4083812f67SIngo Weinhold// Check
4183812f67SIngo Weinholdstatus_t
4283812f67SIngo WeinholdRequest::Check() const
4383812f67SIngo Weinhold{
4483812f67SIngo Weinhold	return B_OK;
4583812f67SIngo Weinhold}
4683812f67SIngo Weinhold
4783812f67SIngo Weinhold// GetAddressInfos
4883812f67SIngo Weinholdstatus_t
4983812f67SIngo WeinholdRequest::GetAddressInfos(AddressInfo* infos, int32* count)
5083812f67SIngo Weinhold{
5183812f67SIngo Weinhold	*count = 0;
5283812f67SIngo Weinhold	return B_OK;
5383812f67SIngo Weinhold}
5483812f67SIngo Weinhold
55