• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3# The following symbols (past the first five) are taken from the public headers.
4# A list of the latter should be available Makefile.sources/LIBKMS_H_FILES
5
6FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libkms.so} | awk '{print $3}'| while read func; do
7( grep -q "^$func$" || echo $func )  <<EOF
8__bss_start
9_edata
10_end
11_fini
12_init
13kms_bo_create
14kms_bo_destroy
15kms_bo_get_prop
16kms_bo_map
17kms_bo_unmap
18kms_create
19kms_destroy
20kms_get_prop
21EOF
22done)
23
24test ! -n "$FUNCS" || echo $FUNCS
25test ! -n "$FUNCS"
26