Commit c857611d c857611d6e2cea1f6e6a141596a48ca1f51a16fa by Alain Magloire

Stubs for Common Messaging Call API.

1 parent a3903307
/* GNU mailutils - a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Library Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <mailutils/xcmc.h>
/* Act On - perform an action on a specified message. */
CMC_return_code cmc_act_on (CMC_session_id session,
CMC_message_reference * message_reference,
CMC_enum operation,
CMC_flags act_on_flags,
CMC_ui_id ui_id,
CMC_extension * act_on_extensions)
{
return CMC_E_NOT_SUPPORTED;
}
/* GNU mailutils - a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Library Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <mailutils/xcmc.h>
/* Free - Free memory allocated by the messagin service. */
CMC_return_code
cmc_free (CMC_buffer memory)
{
return CMC_E_NOT_SUPPORTED;
}
/* GNU mailutils - a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Library Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <mailutils/xcmc.h>
/* List - list summary information about messages which meet a specified
criteria. */
CMC_return_code
cmc_list (CMC_session_id session, CMC_string message_type,
CMC_flags list_flags, CMC_message_reference * seed,
CMC_uint32 * count, CMC_ui_id ui_id,
CMC_message_summary ** result, CMC_extension * list_extensions)
{
return CMC_E_NOT_SUPPORTED;
}
/* GNU mailutils - a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Library Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <mailutils/xcmc.h>
/* Logoff - Log off the CMC service. */
CMC_return_code
cmc_logoff (CMC_session_id session, CMC_ui_id ui_id,
CMC_flags logoff_flags, CMC_extension *logoff_extensions)
{
return CMC_E_NOT_SUPPORTED;
}
/* GNU mailutils - a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Library Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <mailutils/xcmc.h>
/* Logon - Log on the CMC service. */
CMC_return_code
cmc_logon (CMC_string service, CMC_string user, CMC_string password,
CMC_object_identifier character_set, CMC_ui_id ui_id,
CMC_uint16 caller_cmc_version, CMC_flags logon_flags,
CMC_session_id * session, CMC_extension * logon_extensions)
{
return CMC_E_NOT_SUPPORTED;
}
/* GNU mailutils - a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Library Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <mailutils/xcmc.h>
/* Look Up - Looks up addressing information in the directiory. */
CMC_return_code
cmc_look_up (CMC_session_id session, CMC_recipient * recipient_in,
CMC_flags look_up_flags, CMC_ui_id ui_id, CMC_uint32 * count,
CMC_recipient ** recipient_out,
CMC_extension *look_up_extensions)
{
return CMC_E_NOT_SUPPORTED;
}
/* GNU mailutils - a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Library Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <mailutils/xcmc.h>
/* Query Configuration - Determine information about the installed CMC
configuration. */
CMC_return_code
cmc_query_configuration (CMC_session_id session, CMC_enum item,
CMC_buffer reference,
CMC_extension * config_extensions)
{
return CMC_E_NOT_SUPPORTED;
}
/* GNU mailutils - a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Library Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <mailutils/xcmc.h>
/* Read - read and return a specified message. */
CMC_return_code
cmc_read (CMC_session_id session, CMC_message_reference *message_reference,
CMC_flags read_flags, CMC_message ** message, CMC_ui_id ui_id,
CMC_extension * read_extensions)
{
return CMC_E_NOT_SUPPORTED;
}
/* GNU mailutils - a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Library Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <mailutils/xcmc.h>
/* SEND - send a mail message. */
CMC_return_code
cmc_send (CMC_session_id session, CMC_message * message,
CMC_flags send_flags, CMC_ui_id ui_id,
CMC_extension * send_extensions)
{
return CMC_E_NOT_SUPPORTED;
}
/* GNU mailutils - a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Library Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <mailutils/xcmc.h>
/* Send Docments - string based function to send mail. */
CMC_return_code
cmc_send_documents (CMC_string recipient_addresses, CMC_string subject,
CMC_string text_note, CMC_flags send_doc_flags,
CMC_string file_paths, CMC_string attach_titles,
CMC_string delimiter, CMC_ui_id ui_id)
{
return CMC_E_NOT_SUPPORTED;
}
This diff is collapsed. Click to expand it.