1 |
Hello, |
2 |
|
3 |
libspopc is a thin pop3 client library written in C. |
4 |
It internally uses sort of blocking sockets (15s timeout). |
5 |
It exports a high-level API that does not expose |
6 |
the socket to you, unless you want to use the |
7 |
low-level API (but don't use both! they may conflict). |
8 |
|
9 |
This library 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 GNU |
12 |
Lesser General Public License for more details (COPYING.LIB). |
13 |
|
14 |
- if you are under windows, import the files into you IDE, |
15 |
and compile with #define WIN32 plus the wsock32 library |
16 |
for windows versions < XP |
17 |
|
18 |
- if you want to disable SSL support, compile without |
19 |
the #define USE_SSL and without -lcrypto -lssl in LDFLAGS |
20 |
(see CFLAGS and LDFLAGS in Makefile) |
21 |
|
22 |
- if you want to disable thread-safety, compile without |
23 |
the #define _REENTRANT and without -lrt in LDFLAGS |
24 |
(see CFLAGS and LDFLAGS in Makefile) |
25 |
|
26 |
- manuals are in doc/ directory |
27 |
|
28 |
- under Unices, type "make install" to install libspopc.a |
29 |
and libsopoc.so in /usr/lib/ plus libspopc.h in /usr/include |
30 |
(you must be root to do that) |
31 |
|
32 |
To link your program with libspopc, just add |
33 |
#include <libspopc.h> before your main function |
34 |
and compile as: |
35 |
cc -o program program.c -lspopc |
36 |
|
37 |
enjoy ! questions/patches ? mail me <brouits@free.fr> |
38 |
|