summaryrefslogtreecommitdiff
path: root/elfutils/src/arlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'elfutils/src/arlib.h')
-rw-r--r--elfutils/src/arlib.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/elfutils/src/arlib.h b/elfutils/src/arlib.h
index fd26d248..ea77b23e 100644
--- a/elfutils/src/arlib.h
+++ b/elfutils/src/arlib.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007 Red Hat, Inc.
+/* Copyright (C) 2007-2012 Red Hat, Inc.
Written by Ulrich Drepper <drepper@redhat.com>, 2007.
Red Hat elfutils is free software; you can redistribute it and/or modify
@@ -26,15 +26,24 @@
#define _ARLIB_H 1
#include <ar.h>
+#include <argp.h>
#include <byteswap.h>
#include <endian.h>
#include <libelf.h>
#include <obstack.h>
+#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <sys/types.h>
+/* State of -D/-U flags. */
+extern bool arlib_deterministic_output;
+
+/* For options common to ar and ranlib. */
+extern const struct argp_child arlib_argp_children[];
+
+
/* Maximum length of a file name that fits directly into the ar header.
We cannot use the final byte since a / goes there. */
#define MAX_AR_NAME_LEN (sizeof (((struct ar_hdr *) NULL)->ar_name) - 1)