summaryrefslogtreecommitdiff
path: root/src/ne_internal.h
Commit message (Collapse)AuthorAgeFilesLines
* Simplify LFS support, drop *64 transition functions:joe2006-10-241-1/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/ne_defs.h: Add ne_off_t typedef. * src/ne_request.h (ne_set_request_body_fd64, ne_set_request_body_provider64): Removed. (ne_set_request_body_fd, ne_set_request_body_provider): Take ne_off_t arguments. * src/ne_internal.h: Move LFS definitions here... * src/ne_request.c: ...from here. (ne_set_request_body_fd64, ne_set_request_body_provider64): Removed. (ne_set_request_body_fd, ne_set_request_body_provider): Adjust for ne_off_t arguments. * src/ne_basic.h (ne_get_range64): Removed prototype. (ne_content_range): Use ne_off_t offsets. * src/ne_basic.c (ne_get_range64): Removed function. (ne_get_range): Adjust for ne_off_t offsets. * test/largefile.c (send_high_offset, read_large_response): Adjust to use normal interfaces. Save and restore debug mask. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1092 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Implement support for internationalization of error message:joe2005-08-191-0/+39
* src/Makefile.in (NEON_BASEOBJS): Build ne_i18n.o. * src/ne_i18n.c: Include config.h, ne_i18n.h. (ne_i18n_init): Renamed from neon_i18n_init. * src/ne_i18n.h: Remove library-private definition of '_' and 'N_' macros. * src/ne_internal.h: New header; add definitions of _ and N_. * src/*.c: Update all sources to include ne_internal.h instead of ne_i18n.h. * po/: New directory. Add message catalog template and translated message catalogs extracted from sitecopy. * macros/neon-test.m4: Check for setlocale and locale.h. * test/common/tests.c: Include locale.h, ne_i18n.h. (main): Call setlocale and ne_i18n_init. * test/run.sh: By default disable i18n to allow checks for English error messages to succeed. * .release.sh: Compile the gmo files here. * macros/neon.m4 (NEON_I18N): Add macro. * configure.in: Use NEON_I18N. Define ALL_LINGUAS. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@680 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845