//NOTE: It is not entirely clear if doing the above is even desirable.

// Initial conversations on the squirrelmail-devel list were

// inconclusive. On one hand, doing so would give us one master

// file that handles any and all incoming requests, no matter

// where they came from or what format/type they are. On the

// other, keeping page requests out of this file keeps this file

// lean and specific to one technology: our RPC interface.

/**

* Include the SquirrelMail initialization file.

*/

//FIXME: init.php assumes it is being called by a browser, so some error

// conditions are handled by immediately calling error_box() or

// otherwise trying to push something to the browser, which should

// be avoided at all costs. This is also pervasive in the whole

// core and must be cleaned up entirely before this can be a very

// functional RPC interface

require('../include/init.php');

//FIXME: do we need to put this list somewhere else?

//FIXME: do we want to use constants instead? probably not a bad idea, although plugins probably won't, so we still want to try to keep track of the plugin error codes too if possible (new plugin website should help)