#
# scanmail.rb
#
#   Copyright (c) 1998-2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
#
#   This program is free software.
#   You can distribute/modify this program under the terms of
#   the GNU Lesser General Public License version 2 or later.
#

require 'scanner'
require 'tmail/rmails.rb'

module TMail
  begin
    require 'tmail/cmails.so'
    Scanner = Scanner_C
  rescue LoadError
    Scanner = Scanner_R
  end
end
