This repository has been archived on 2020-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
ildus/lib/ildus/server/backend.rb

48 lines
1.0 KiB
Ruby

# = ildus/server/backend - generic server backend library
#
# Copyright (C) 2005 Paul van Tilburg <paul@luon.net>
#
# Ildus is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option)
# any later version.
require 'singleton'
module Ildus
class Server
class Backend
include Singleton
def hostnames_of(user)
raise Handler::NotImplementedError
end
def add_hostname(user)
raise Handler::NotImplementedError
end
def remove_hostname(user)
raise Handler::NotImplementedError
end
def update_hostname(user, host, addr)
raise Handler::NotImplementedError
end
def add_alias(user, new_alias, host)
raise Handler::NotImplementedError
end
def remove_alias(user, old_alias, host)
raise Handler::NotImplementedError
end
end # class Backend
end # class Server
end # module Ildus