summaryrefslogtreecommitdiff
path: root/fxbarcode/oned/BC_OnedEANChecksum.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode/oned/BC_OnedEANChecksum.h')
-rw-r--r--fxbarcode/oned/BC_OnedEANChecksum.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/fxbarcode/oned/BC_OnedEANChecksum.h b/fxbarcode/oned/BC_OnedEANChecksum.h
new file mode 100644
index 0000000000..47d2d6bd91
--- /dev/null
+++ b/fxbarcode/oned/BC_OnedEANChecksum.h
@@ -0,0 +1,12 @@
+// Copyright 2017 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef FXBARCODE_ONED_BC_ONEDEANCHECKSUM_H_
+#define FXBARCODE_ONED_BC_ONEDEANCHECKSUM_H_
+
+#include "core/fxcrt/fx_string.h"
+
+int32_t EANCalcChecksum(const CFX_ByteString& contents);
+
+#endif // FXBARCODE_ONED_BC_ONEDEANCHECKSUM_H_