aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/ename/e-name-western.h
blob: 695719b1c05bc8376d0d28e8c5b15581315db914 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef __E_NAME_WESTERN_H__
#define __E_NAME_WESTERN_H__

#include <ename/e-name.h>

typedef struct {

    /* Public */
    char *prefix;
    char *first;
    char *middle;
    char *nick;
    char *last;
    char *suffix;

    /* Private */
    char *full;
} ENameWestern;

ENameWestern *e_name_western_parse (const char   *full_name);
void          e_name_western_free  (ENameWestern *w);

#endif /* ! __E_NAME_WESTERN_H__ */