citrus_stdenc.h (219019) | citrus_stdenc.h (252583) |
---|---|
1/* $FreeBSD: head/lib/libc/iconv/citrus_stdenc.h 219019 2011-02-25 00:04:39Z gabor $ */ | 1/* $FreeBSD: head/lib/libc/iconv/citrus_stdenc.h 252583 2013-07-03 18:27:45Z peter $ */ |
2/* $NetBSD: citrus_stdenc.h,v 1.4 2005/10/29 18:02:04 tshiozak Exp $ */ 3 4/*- 5 * Copyright (c)2003 Citrus Project, 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 54 unchanged lines hidden (view full) --- 64{ 65 66 return ((*ce->ce_ops->eo_init_state)(ce, ps)); 67} 68 69static __inline int 70_citrus_stdenc_mbtocs(struct _citrus_stdenc * __restrict ce, 71 _citrus_csid_t * __restrict csid, _citrus_index_t * __restrict idx, | 2/* $NetBSD: citrus_stdenc.h,v 1.4 2005/10/29 18:02:04 tshiozak Exp $ */ 3 4/*- 5 * Copyright (c)2003 Citrus Project, 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 54 unchanged lines hidden (view full) --- 64{ 65 66 return ((*ce->ce_ops->eo_init_state)(ce, ps)); 67} 68 69static __inline int 70_citrus_stdenc_mbtocs(struct _citrus_stdenc * __restrict ce, 71 _citrus_csid_t * __restrict csid, _citrus_index_t * __restrict idx, |
72 char ** __restrict s, size_t n, void * __restrict ps, | 72 const char ** __restrict s, size_t n, void * __restrict ps, |
73 size_t * __restrict nresult, struct iconv_hooks *hooks) 74{ 75 76 return ((*ce->ce_ops->eo_mbtocs)(ce, csid, idx, s, n, ps, nresult, 77 hooks)); 78} 79 80static __inline int --- 44 unchanged lines hidden --- | 73 size_t * __restrict nresult, struct iconv_hooks *hooks) 74{ 75 76 return ((*ce->ce_ops->eo_mbtocs)(ce, csid, idx, s, n, ps, nresult, 77 hooks)); 78} 79 80static __inline int --- 44 unchanged lines hidden --- |