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