Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
a7cb3f03
...
a7cb3f03c794c6947db2851c647004412c4b8325
authored
2002-03-25 09:55:11 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Removed typedefs. Included <mailutils/types.h>
1 parent
8f6cfeda
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
21 additions
and
78 deletions
mailbox2/include/mailutils/address.h
mailbox2/include/mailutils/attribute.h
mailbox2/include/mailutils/body.h
mailbox2/include/mailutils/debug.h
mailbox2/include/mailutils/envelope.h
mailbox2/include/mailutils/folder.h
mailbox2/include/mailutils/header.h
mailbox2/include/mailutils/iterator.h
mailbox2/include/mailutils/list.h
mailbox2/include/mailutils/lockfile.h
mailbox2/include/mailutils/mailbox.h
mailbox2/include/mailutils/mbox.h
mailbox2/include/mailutils/message.h
mailbox2/include/mailutils/observable.h
mailbox2/include/mailutils/observer.h
mailbox2/include/mailutils/pop3.h
mailbox2/include/mailutils/property.h
mailbox2/include/mailutils/refcount.h
mailbox2/include/mailutils/stream.h
mailbox2/include/mailutils/ticket.h
mailbox2/include/mailutils/url.h
mailbox2/include/mailutils/address.h
View file @
a7cb3f0
...
...
@@ -20,14 +20,12 @@
#include <sys/types.h>
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#ifdef __cplusplus
extern
"C"
{
#endif
struct
_address
;
typedef
struct
_address
*
address_t
;
extern
int
address_create
__P
((
address_t
*
,
const
char
*
));
extern
int
address_ref
__P
((
address_t
));
...
...
mailbox2/include/mailutils/attribute.h
View file @
a7cb3f0
...
...
@@ -19,14 +19,12 @@
#define _MAILUTILS_ATTRIBUTE_H
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#ifdef __cplusplus
extern
"C"
{
#endif
struct
_attribute
;
typedef
struct
_attribute
*
attribute_t
;
#define MU_ATTRIBUTE_ANSWERED 0x000001
#define MU_ATTRIBUTE_FLAGGED 0x000002
#define MU_ATTRIBUTE_DELETED 0x000004
...
...
mailbox2/include/mailutils/body.h
View file @
a7cb3f0
...
...
@@ -20,6 +20,7 @@
#include <sys/types.h>
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#include <mailutils/property.h>
#include <mailutils/stream.h>
...
...
@@ -28,8 +29,6 @@ extern "C" {
#endif
/* forward declaration */
struct
_body
;
typedef
struct
_body
*
body_t
;
extern
int
body_ref
__P
((
body_t
));
extern
void
body_release
__P
((
body_t
*
));
...
...
mailbox2/include/mailutils/debug.h
View file @
a7cb3f0
...
...
@@ -20,15 +20,13 @@
#include <sys/types.h>
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#include <mailutils/stream.h>
#ifdef __cplusplus
extern
"C"
{
#endif
struct
_mu_debug
;
typedef
struct
_mu_debug
*
mu_debug_t
;
#define MU_DEBUG_TRACE 1
#define MU_DEBUG_PROT 2
...
...
mailbox2/include/mailutils/envelope.h
View file @
a7cb3f0
...
...
@@ -19,6 +19,7 @@
# define _MAILUTILS_ENVELOPE_H
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#include <mailutils/address.h>
#include <mailutils/mutil.h>
...
...
@@ -26,9 +27,6 @@
extern
"C"
{
#endif
struct
_envelope
;
typedef
struct
_envelope
*
envelope_t
;
extern
int
envelope_ref
__P
((
envelope_t
));
extern
void
envelope_destroy
__P
((
envelope_t
*
));
...
...
mailbox2/include/mailutils/folder.h
View file @
a7cb3f0
...
...
@@ -21,6 +21,7 @@
#include <sys/types.h>
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#include <mailutils/url.h>
#include <mailutils/observable.h>
#include <mailutils/debug.h>
...
...
@@ -35,8 +36,6 @@ extern "C" {
#endif
/* Forward declaration. */
struct
_folder
;
typedef
struct
_folder
*
folder_t
;
#define MU_FOLDER_ATTRIBUTE_DIRECTORY 0x001
#define MU_FOLDER_ATTRIBUTE_FILE 0x002
...
...
mailbox2/include/mailutils/header.h
View file @
a7cb3f0
...
...
@@ -20,6 +20,7 @@
#include <sys/types.h>
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#include <mailutils/stream.h>
#ifdef __cplusplus
...
...
@@ -66,10 +67,6 @@ extern "C" {
/* Mime support header attribute */
/* forward declaration */
struct
_header
;
typedef
struct
_header
*
header_t
;
extern
int
header_ref
__P
((
header_t
));
extern
void
header_destroy
__P
((
header_t
*
));
...
...
mailbox2/include/mailutils/iterator.h
View file @
a7cb3f0
...
...
@@ -19,14 +19,12 @@
#define _MAILUTILS_ITERATOR_H
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#ifdef __cplusplus
extern
"C"
{
#endif
struct
_iterator
;
typedef
struct
_iterator
*
iterator_t
;
extern
int
iterator_ref
__P
((
iterator_t
));
extern
void
iterator_destroy
__P
((
iterator_t
*
));
...
...
mailbox2/include/mailutils/list.h
View file @
a7cb3f0
...
...
@@ -20,15 +20,13 @@
#include <sys/types.h>
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#include <mailutils/iterator.h>
#ifdef __cplusplus
extern
"C"
{
#endif
struct
_list
;
typedef
struct
_list
*
mu_list_t
;
extern
int
mu_list_create
__P
((
mu_list_t
*
));
extern
int
mu_list_ref
__P
((
mu_list_t
));
extern
void
mu_list_destroy
__P
((
mu_list_t
*
));
...
...
mailbox2/include/mailutils/lockfile.h
View file @
a7cb3f0
...
...
@@ -20,14 +20,12 @@
#include <sys/types.h>
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#ifdef __cplusplus
extern
"C"
{
#endif
struct
_lockfile
;
typedef
struct
_lockfile
*
lockfile_t
;
extern
int
lockfile_ref
__P
((
lockfile_t
));
extern
void
lockfile_destroy
__P
((
lockfile_t
*
));
...
...
mailbox2/include/mailutils/mailbox.h
View file @
a7cb3f0
...
...
@@ -18,13 +18,8 @@
#ifndef _MAILUTILS_MAILBOX_H
#define _MAILUTILS_MAILBOX_H
#include <sys/types.h>
/* Forward declaration. */
struct
_mailbox
;
typedef
struct
_mailbox
*
mailbox_t
;
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#include <mailutils/url.h>
#include <mailutils/observer.h>
#include <mailutils/debug.h>
...
...
mailbox2/include/mailutils/mbox.h
View file @
a7cb3f0
...
...
@@ -19,6 +19,7 @@
#define _MAILUTILS_MBOX_H
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#include <mailutils/stream.h>
#include <mailutils/attribute.h>
#include <mailutils/debug.h>
...
...
@@ -27,10 +28,6 @@
extern
"C"
{
#endif
struct
_mbox
;
typedef
struct
_mbox
*
mbox_t
;
extern
int
mbox_create
__P
((
mbox_t
*
));
extern
void
mbox_destroy
__P
((
mbox_t
*
));
...
...
mailbox2/include/mailutils/message.h
View file @
a7cb3f0
...
...
@@ -18,13 +18,8 @@
#ifndef _MAILUTILS_MESSAGE_H
#define _MAILUTILS_MESSAGE_H
#include <sys/types.h>
/* forward declaration */
struct
_message
;
typedef
struct
_message
*
message_t
;
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#include <mailutils/envelope.h>
#include <mailutils/header.h>
#include <mailutils/body.h>
...
...
mailbox2/include/mailutils/observable.h
View file @
a7cb3f0
...
...
@@ -18,17 +18,14 @@
#ifndef _MAILUTILS_OBSERVABLE_H
#define _MAILUTILS_OBSERVABLE_H
#include <sys/types.h>
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#include <mailutils/observer.h>
#ifdef __cplusplus
extern
"C"
{
#endif
struct
_observable
;
typedef
struct
_observable
*
observable_t
;
extern
int
observable_create
__P
((
observable_t
*
));
extern
void
observable_destroy
__P
((
observable_t
*
));
...
...
mailbox2/include/mailutils/observer.h
View file @
a7cb3f0
...
...
@@ -18,16 +18,13 @@
#ifndef _MAILUTILS_OBSERVER_H
#define _MAILUTILS_OBSERVER_H
#include <sys/types.h>
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#ifdef __cplusplus
extern
"C"
{
#endif
struct
_observer
;
typedef
struct
_observer
*
observer_t
;
struct
event
{
int
type
;
...
...
mailbox2/include/mailutils/pop3.h
View file @
a7cb3f0
...
...
@@ -19,6 +19,7 @@
#define _MAILUTILS_POP3_H
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#include <mailutils/iterator.h>
#include <mailutils/debug.h>
#include <mailutils/stream.h>
...
...
@@ -27,8 +28,6 @@
extern
"C"
{
#endif
struct
_pop3
;
typedef
struct
_pop3
*
pop3_t
;
typedef
iterator_t
pop3_capa_iterator_t
;
typedef
iterator_t
pop3_list_iterator_t
;
typedef
iterator_t
pop3_uidl_iterator_t
;
...
...
mailbox2/include/mailutils/property.h
View file @
a7cb3f0
...
...
@@ -18,16 +18,13 @@
#ifndef _MAILUTILS_PROPERTY_H
#define _MAILUTILS_PROPERTY_H
#include <sys/types.h>
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#ifdef __cplusplus
extern
"C"
{
#endif
struct
_property
;
typedef
struct
_property
*
property_t
;
extern
int
property_create
__P
((
property_t
*
));
extern
void
property_destroy
__P
((
property_t
*
));
...
...
mailbox2/include/mailutils/refcount.h
View file @
a7cb3f0
...
...
@@ -18,17 +18,13 @@
#ifndef _MAILUTILS_REFCOUNT_H
#define _MAILUTILS_REFCOUNT_H
#include <sys/types.h>
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* forward declaration */
struct
_refcount
;
typedef
struct
_refcount
*
mu_refcount_t
;
extern
int
mu_refcount_create
__P
((
mu_refcount_t
*
));
extern
void
mu_refcount_destroy
__P
((
mu_refcount_t
*
));
extern
int
mu_refcount_inc
__P
((
mu_refcount_t
));
...
...
mailbox2/include/mailutils/stream.h
View file @
a7cb3f0
...
...
@@ -18,9 +18,9 @@
#ifndef _MAILUTILS_STREAM_H
#define _MAILUTILS_STREAM_H
#include <sys/types.h>
#include <stdio.h>
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#ifdef __cplusplus
extern
"C"
{
...
...
@@ -42,9 +42,6 @@ enum stream_state
MU_STREAM_STATE_CLOSE
};
struct
_stream
;
typedef
struct
_stream
*
stream_t
;
extern
int
stream_ref
__P
((
stream_t
));
extern
void
stream_destroy
__P
((
stream_t
*
));
...
...
mailbox2/include/mailutils/ticket.h
View file @
a7cb3f0
...
...
@@ -18,17 +18,13 @@
#ifndef _MAILUTILS_TICKET_H
#define _MAILUTILS_TICKET_H
#include <sys/types.h>
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* forward declaration */
struct
_ticket
;
typedef
struct
_ticket
*
ticket_t
;
extern
int
ticket_ref
__P
((
ticket_t
));
extern
void
ticket_destroy
__P
((
ticket_t
*
));
...
...
mailbox2/include/mailutils/url.h
View file @
a7cb3f0
...
...
@@ -18,17 +18,13 @@
#ifndef _MAILUTILS_URL_H
#define _MAILUTILS_URL_H 1
#include <sys/types.h>
#include <mailutils/mu_features.h>
#include <mailutils/types.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* Forward declaration. */
struct
_url
;
typedef
struct
_url
*
url_t
;
extern
void
url_destroy
__P
((
url_t
*
));
extern
int
url_parse
__P
((
url_t
));
...
...
Please
register
or
sign in
to post a comment