> Failure:
> webInterface.c: In function `printNtopConfigInfo':
> webInterface.c:1777: structure has no member named `effectiveUserName'
> webInterface.c:1778: structure has no member named `userId'
> webInterface.c:1779: structure has no member named `groupId'

None of these 3 make sense in a Win32 context, so should be surrounded with:
#ifndef WIN32
#endif

Yes?

> webInterface.c:1842: structure has no member named `debugMode'

Have tracked where this is specifically not set for a Win32 context:
ntop/globals.h +156
#ifndef WIN32
  u_short debugMode;                 /* 'K' */
  int useSyslog;                     /* 'L' */
#endif

I assume there's a good reason for this?

> webInterface.c:1890: structure has no member named `sslInitialized'

ntop/globals.h +285
#ifdef HAVE_OPENSSL
  int sslInitialized;
#endif

OpenSSL not available under Win32 normally.
This *can* be compiled for Win32....has anyone got this working with NTop
under Win32?

> webInterface.c:1892: structure has no member named `sslPort'
> webInterface.c:1894: structure has no member named `sslAddr'

ntop/globals.h +168
#ifdef HAVE_OPENSSL
  char *sslAddr;                     /* 'W' */
  int sslPort;
#endif

As above...

So...this section should be surrounded by:
#ifdef HAVE_OPENSSL
#endif

Yes?

Apologies if I'm making basic errors, but I'm new to C & to this source
code...
The ntop & ntop-dev list archives aren't searchable, are they?

Best Wishes,
Fran.

_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop-dev

Reply via email to