ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/event_compat.h
(Generate patch)

Comparing libev/event_compat.h (file contents):
Revision 1.6 by root, Mon Jan 28 12:47:02 2008 UTC vs.
Revision 1.8 by root, Wed Feb 16 08:02:51 2011 UTC

1/* 1/*
2 * Copyright (c) 2000-2004 Niels Provos <provos@citi.umich.edu> 2 * Copyright (c) 2000-2004 Niels Provos <provos@citi.umich.edu>
3 * Copyright (c) 2008 Marc Alexander Lehmann <libev@schmorp.de>
3 * All rights reserved. 4 * All rights reserved.
4 * 5 *
5 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
7 * are met: 8 * are met:
179int evbuffer_write(struct evbuffer *, int); 180int evbuffer_write(struct evbuffer *, int);
180int evbuffer_read(struct evbuffer *, int, int); 181int evbuffer_read(struct evbuffer *, int, int);
181u_char *evbuffer_find(struct evbuffer *, const u_char *, size_t); 182u_char *evbuffer_find(struct evbuffer *, const u_char *, size_t);
182void evbuffer_setcb(struct evbuffer *, void (*)(struct evbuffer *, size_t, size_t, void *), void *); 183void evbuffer_setcb(struct evbuffer *, void (*)(struct evbuffer *, size_t, size_t, void *), void *);
183 184
184/* 185/*
185 * Marshaling tagged data - We assume that all tags are inserted in their 186 * Marshaling tagged data - We assume that all tags are inserted in their
186 * numeric order - so that unknown tags will always be higher than the 187 * numeric order - so that unknown tags will always be higher than the
187 * known ones - and we can just ignore the end of an event buffer. 188 * known ones - and we can just ignore the end of an event buffer.
188 */ 189 */
189 190

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines