Fix BufferItem references

git-svn-id: file:///home/svn/framework3/trunk@9811 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-07-13 19:34:32 +00:00
parent 24800ca1ec
commit e765553d26
1 changed files with 11 additions and 11 deletions

View File

@ -121,6 +121,17 @@ module Rex
end end
end end
class BufferItem
attr_reader :belongs_to_param_n, :addr, :length_in_bytes, :datatype
def initialize(belongs_to_param_n, addr, length_in_bytes, datatype)
@belongs_to_param_n = belongs_to_param_n
@addr = addr
@length_in_bytes = length_in_bytes
@datatype = datatype
end
end
# shared functions # shared functions
module DLLHelper module DLLHelper
@ -230,17 +241,6 @@ module Rex
include DLLHelper include DLLHelper
class BufferItem
attr_reader :belongs_to_param_n, :addr, :length_in_bytes, :datatype
def initialize(belongs_to_param_n, addr, length_in_bytes, datatype)
@belongs_to_param_n = belongs_to_param_n
@addr = addr
@length_in_bytes = length_in_bytes
@datatype = datatype
end
end
attr_accessor :functions attr_accessor :functions
def initialize(dll_path, client, win_consts) # def initialize(dll_path, client, win_consts) #