Giter VIP home page Giter VIP logo

libspopc's Introduction

Hello,

libspopc is a thin pop3 client library written in C.
It internally uses sort of blocking sockets (15s timeout).
It exports a high-level API that does not expose
the socket to you, unless you want to use the
low-level API (but don't use both! they may conflict).

    This library 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
    Lesser General Public License for more details (COPYING.LIB).

- if you are under windows, import the files into you IDE,
and compile with the wsock32 library as linker options
the archive contains a functionnal dev-cpp project file.
You have to download openssl for win32 for SSL connections.

- if you want to disable SSL support, compile without
the #define USE_SSL and without -lcrypto -lssl in LDFLAGS
(see CFLAGS and LDFLAGS in Makefile)

- if you want to disable thread-safety, compile without
the #define _REENTRANT and without -lrt in LDFLAGS
(see CFLAGS and LDFLAGS in Makefile)

- manuals are in doc/ directory

- under Unices, type "make install" to install libspopc.a
and libsopoc.so in /usr/lib/ plus libspopc.h in /usr/include
(you must be root to do that)

To link your program with libspopc, just add
#include <libspopc.h> before your main function
and compile as:
cc -o program program.c -lspopc

enjoy ! questions/patches ? mail me <[email protected]>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.