firasuke / cross / slibtool

Forked from cross/slibtool 3 months ago
Clone

Blame src/helper/slbt_archive_import.c

4a01cf
/*******************************************************************/
4a01cf
/*  slibtool: a skinny libtool implementation, written in C        */
bb281c
/*  Copyright (C) 2016--2021  SysDeer Technologies, LLC            */
4a01cf
/*  Released under the Standard MIT License; see COPYING.SLIBTOOL. */
4a01cf
/*******************************************************************/
4a01cf
4a01cf
#include <slibtool/slibtool.h>
c81d16
#include "slibtool_driver_impl.h"
8a1d14
#include "slibtool_errinfo_impl.h"
4a01cf
65cb35
extern int slbt_archive_import_mri(
65cb35
	const struct slbt_driver_ctx *	dctx,
65cb35
	struct slbt_exec_ctx *		ectx,
65cb35
	char *				dstarchive,
65cb35
	char *				srcarchive);
4a01cf
cfec3a
int slbt_archive_import(
4a01cf
	const struct slbt_driver_ctx *	dctx,
4a01cf
	struct slbt_exec_ctx *		ectx,
4a01cf
	char *				dstarchive,
4a01cf
	char *				srcarchive)
4a01cf
{
65cb35
	return slbt_archive_import_mri(
65cb35
		dctx,ectx,
65cb35
		dstarchive,
65cb35
		srcarchive);
4a01cf
}