it's in event.h
#ifdef _EVENT_DEFINED_TQENTRY
#undef TAILQ_ENTRY
struct event_list;
struct evkeyvalq;
#undef _EVENT_DEFINED_TQENTRY
#else
TAILQ_HEAD (event_list, event);
TAILQ_HEAD (evkeyvalq, evkeyval); 

TAILQ_HEAD get's expanded to a head to a tail list struct 

//from sys/queue.h

#define TAILQ_HEAD(name, type)                                          \
struct name {                                                           \
        struct type *tqh_first; /* first element */                     \
        struct type **tqh_last; /* addr of last next element */         \
}


you can use gcc -E to see the expanded macros

evkeyval is defined as well in event.h

struct evkeyval {
        TAILQ_ENTRY(evkeyval) next;

        char *key;
        char *value;
};


so evkeyvalq is a headp to a tailq-like  list

On Tue, Jan 29, 2008 at 09:31:46AM +0200, Peter Hinz wrote:
> X-Original-To: [EMAIL PROTECTED]
> Delivered-To: [EMAIL PROTECTED]
> X-Original-To: [EMAIL PROTECTED]
> Delivered-To: [EMAIL PROTECTED]
> X-Greylist: delayed 183 seconds by postgrey-1.27 at mail1.monkey.org;
>       Tue, 29 Jan 2008 02:35:00 EST
> From: "Peter Hinz" <[EMAIL PROTECTED]>
> Cc: <libevent-users@monkey.org>
> In-Reply-To: <[EMAIL PROTECTED]>
> Date: Tue, 29 Jan 2008 09:31:46 +0200
> X-Mailer: Microsoft Office Outlook 12.0
> Thread-Index: Achd1HUnIc+84qE1S/2Zy+hP5dkcWAEdGNDg
> x-cr-puzzleid: {AA9B3C17-0222-4BE0-B314-3BEADEDBAFCA}
> x-cr-hashedpuzzle: nFU= C4tI DbKu D8FP EAVX EL5/ EOla FLmj FYDB GyF2 G8sK Hbh2
>       JJFm KKIP KQYJ KtT1; 1;
>       bABpAGIAZQB2AGUAbgB0AC0AdQBzAGUAcgBzAEAAbQBvAG4AawBlAHkALgBvAHIAZwA=;
>       Sosha1_v1; 7; {AA9B3C17-0222-4BE0-B314-3BEADEDBAFCA};
>       cABlAHQAZQByAEAAYwBlAHIAZQBiAHUAcwAuAGMAbwAuAHoAYQA=;
>       Tue, 29 Jan 2008 07:31:42 GMT;
>       
> VwBoAGUAcgBlACAAaQBzACAAcwB0AHIAdQBjAHQAIABlAHYAawBlAHkAdgBhAGwAcQAgAGQAZQBmAGkAbgBlAGQALgA=
> To: libevent-users@monkey.org (rfc822 Compliance issue To: added by system
>       POTENTIAL SPAM)
> X-SLUIDL: D3396F33-104749C1-B4AB945C-24E4B28E
> Subject: [Libevent-users] Where is struct evkeyvalq defined.
> X-BeenThere: libevent-users@monkey.org
> X-Mailman-Version: 2.1.4
> Precedence: list
> Reply-To: [EMAIL PROTECTED]
> List-Id: mailing list for users of libevent <libevent-users.monkey.org>
> List-Unsubscribe: <http://monkeymail.org/mailman/listinfo/libevent-users>,
>       <mailto:[EMAIL PROTECTED]>
> List-Archive: <http://monkeymail.org/archives/libevent-users>
> List-Post: <mailto:libevent-users@monkey.org>
> List-Help: <mailto:[EMAIL PROTECTED]>
> List-Subscribe: <http://monkeymail.org/mailman/listinfo/libevent-users>,
>       <mailto:[EMAIL PROTECTED]>
> Errors-To: [EMAIL PROTECTED]
> 
> I'm looking for the definition of
> struct evkeyvalq;
> 
> All I can find is the above line in evhttp.h.  Where is the real definition.
> 
> Peter
> 
> 
> 
> _______________________________________________
> Libevent-users mailing list
> Libevent-users@monkey.org
> http://monkeymail.org/mailman/listinfo/libevent-users

-- 
adrian ilarion ciobanu (cia)
http://pub.mud.ro/~cia/
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.7 (FreeBSD)

mQGiBEeDA88RBADj6/6ogFf7XLKuoFUZf8RkzSk+DUoZ4q1/hheyEiqIss0ixuWz
RphMxo5iUL32sUMB+apjLhZQN0xaSnoxFyEOzRGKNv+VooSiLx89YpXRCJrBTjXT
56tFw0uIFm2bi4W+tl/UcK7E2lAC+pIhfm0Y0kTKeA7a69wwcPDwBi57NwCg9yYO
zW4e/QHvan6HA+mOZOu73NsEAOOV9PW5k1rKswwQhYdzGFNn4ESe3BqV2MF1UFTc
IJlPWQk0BLDv4U9shVIf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QLNNGS7RbEzxJ4rQCePUyiw2Ao7HuwlGUQKe0k6KSoFkY=
=5rWz
-----END PGP PUBLIC KEY BLOCK-----

Attachment: pgp8ftzRU3edn.pgp
Description: PGP signature

_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to