1N/A/*
1N/A * collate.h - Defines for NTFS collation handling. Part of the Linux-NTFS
1N/A * project.
1N/A *
1N/A * Copyright (c) 2004 Anton Altaparmakov
1N/A * Copyright (c) 2005 Yura Pakhuchiy
1N/A *
1N/A * This program/include file is free software; you can redistribute it and/or
1N/A * modify it under the terms of the GNU General Public License as published
1N/A * by the Free Software Foundation; either version 2 of the License, or
1N/A * (at your option) any later version.
1N/A *
1N/A * This program/include file is distributed in the hope that it will be
1N/A * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
1N/A * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1N/A * GNU General Public License for more details.
1N/A *
1N/A * You should have received a copy of the GNU General Public License
1N/A * along with this program (in the main directory of the Linux-NTFS
1N/A * distribution in the file COPYING); if not, write to the Free Software
1N/A * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1N/A */
1N/A
1N/A#ifndef _NTFS_COLLATE_H
1N/A#define _NTFS_COLLATE_H
1N/A
1N/A#include "types.h"
1N/A#include "volume.h"
1N/A
1N/A#define NTFS_COLLATION_ERROR (-2)
1N/A
1N/Aextern BOOL ntfs_is_collation_rule_supported(COLLATION_RULES cr);
1N/A
1N/Aextern int ntfs_collate(ntfs_volume *vol, COLLATION_RULES cr,
1N/A const void *data1, size_t data1_len,
1N/A const void *data2, size_t data2_len);
1N/A
1N/A#endif /* _NTFS_COLLATE_H */