GithubHelp home page GithubHelp logo

dovecot2-drac's People

Contributors

glance- avatar ixs avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

bawuenet ezpappi

dovecot2-drac's Issues

Can compile for dovecot-2.3.2.1

make
cc -Wall -W -shared -fPIC -DHAVE_CONFIG_H -I../dovecot-2.3.2.1 -I../dovecot-2.3.2.1/src/lib -I../dovecot-2.3.2.1/src/lib-index -I../dovecot-2.3.2.1/src/lib-mail -I../dovecot-2.3.2.1/src/lib-storage -I../dovecot-2.3.2.1/src/lib-storage/index -I../dovecot-2.3.2.1/src/lib-storage/index/maildir -L/usr/lib/dovecot drac-plugin-new.c -o drac_plugin.so -ldrac
drac-plugin-new.c: In function ‘drac_mail_user_created’:
drac-plugin-new.c:65:13: error: ‘struct mail_user’ has no member named ‘remote_ip’
if (user->remote_ip == NULL) {
^~
In file included from drac-plugin-new.c:16:
drac-plugin-new.c:71:25: error: ‘struct mail_user’ has no member named ‘remote_ip’
if(IPADDR_IS_V4(user->remote_ip) || IPADDR_IS_V6(user->remote_ip)) {
^~
../dovecot-2.3.2.1/src/lib/net.h:41:28: note: in definition of macro ‘IPADDR_IS_V4’
#define IPADDR_IS_V4(ip) ((ip)->family == AF_INET)
^~
drac-plugin-new.c:71:58: error: ‘struct mail_user’ has no member named ‘remote_ip’
if(IPADDR_IS_V4(user->remote_ip) || IPADDR_IS_V6(user->remote_ip)) {
^~
../dovecot-2.3.2.1/src/lib/net.h:42:28: note: in definition of macro ‘IPADDR_IS_V6’
#define IPADDR_IS_V6(ip) ((ip)->family == AF_INET6)
^~
drac-plugin-new.c:73:25: error: ‘struct mail_user’ has no member named ‘remote_ip’
memcpy(&ip, user->remote_ip, sizeof(ip));
^~
make: *** [Makefile:17: drac_plugin.so] Error 1

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.