-module(test).
%%% ------------------------------------------------------------------
%%% @doc
%%%
%%%   Implementation of RPC/DCE stuff to be used over SMB.
%%%   See also: "DCE 1.1: RPC", Spec.C706 from opengroup.org
%%%   "DCE/RPC over SMB", ISBN-1-57870-150-3
%%%
%%% @end
%%% ------------------------------------------------------------------
-export([e_samr_connect2/3]).

-define(BYTE, integer-unit:8).    % Nice syntactic sugar...

%%%
%%% --- Type declarations ---
%%%
%%% @type rpcResponse(). The #rpc_response{} record
%%% @type ctxHandle() = {ok, CtxHandle} | {error, returnCode}
%%%              CtxHandle  = binary()
%%%              returnCode = integer().
%%%


e_samr_connect2(B0, AccessMask, Pad) ->
    <<B0/binary,
      0:Pad/?BYTE,
      AccessMask:32/little>>.
    
	
