[syslog-ng] Not finding header files in syslog-ng-3.25.1 as compared to syslog-ng-3.6.2

Peter Kokai (pkokai) Peter.Kokai at oneidentity.com
Mon Feb 3 12:33:03 UTC 2020


Hello,

There is no dev doc about it, as you might noticed. Probably no replace that with this answer exists.
Luckily git remembers: git log --follow -p -- <path>

git log --follow -p -- modules/dbparser/patterndb-int.h
commit 1931dabf07b79a9b10d5902b5ad0b7f0509e7594
Author: Balazs Scheidler <bazsi77 at gmail.com>
Date:   Wed Jul 29 15:10:06 2015 +0200

    dbparser: get rid off patterndb-int.h

    As we have the broken-down header files, this is not needed anymore.

    Signed-off-by: Balazs Scheidler <balazs.scheidler at balabit.com>

This commit might gave you a hint, which headers it was replaced with.

Alternative idea: simply check which header provides the function you need.

git log --follow -p -- src/tags.h
commit ee1d0d7f0720c3ded0d2bfaf22ca6e42d669b7a6
Author: Balazs Scheidler <bazsi77 at gmail.com>
Date:   Thu Sep 9 13:48:42 2010 +0200

    separate directory hierarchy into lib/, modules/ and syslog-ng/

    It was more and more cumbersome to compile syslog-ng during development, since
    a core change always recompiled (or just relinked) the modules as well
    even when that was not strictly necessary. (make install in src/)

    This patch reorganizes the directory hierarchy, lib is where the core lives
    modules where plugins are and syslog-ng is where the main program resides.

The change here more simple, just moving the actual file. (Note tags.h was moved twice since your version, and now it is under lib/logmsg/)


--
Kokan

On Mon, Feb 03, 2020 at 05:34:21PM +0530, Nitish Saboo wrote:
> CAUTION: This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.
> 
> Hi,
> 
> I was using syslog version: syslog-ng-3.6.2.
> In that particular version of my c wrapper code I was including the following header files:
> 
> #include <modules/dbparser/patterndb-int.h>
> #include <syslog-ng/tags.h>
> 
> When I upgraded the syslog-ng version to 3.25.1,I don't see these header file in the modules and include folder respectively  post installation
> 
> Can someone please help me clarify, what these files have been replaced with?
> 
> Thanks,
> Nitish

> ______________________________________________________________________________
> Member info: https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.balabit.hu%2Fmailman%2Flistinfo%2Fsyslog-ng&data=02%7C01%7Cpeter.kokai%40oneidentity.com%7C0616c4f0e4cc4cd1d26f08d7a8a13d03%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637163282794906164&sdata=mn27bwmBoTLzPsp%2FeL648GZ81vo%2FfZMrfAeNdfwX5bk%3D&reserved=0
> Documentation: https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fsupport%2Fdocumentation%2F%3Fproduct%3Dsyslog-ng&data=02%7C01%7Cpeter.kokai%40oneidentity.com%7C0616c4f0e4cc4cd1d26f08d7a8a13d03%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637163282794916099&sdata=W5ip5K3TXAoux%2BBRNPoJpw19tQoxaSHF0nkLMc37%2BFQ%3D&reserved=0
> FAQ: https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fwiki%2Fsyslog-ng-faq&data=02%7C01%7Cpeter.kokai%40oneidentity.com%7C0616c4f0e4cc4cd1d26f08d7a8a13d03%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637163282794916099&sdata=UZs%2FG%2Fg%2BoUESRozPNJOfyUwDKYpB5gzQ9jKc4XysbSY%3D&reserved=0
> 


More information about the syslog-ng mailing list