---
name: "dk_make_protocol"
section: "1"
platform: "linux"
package: "dbuskit-dev-tools"
version: "0.1.1-13"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dk_make_protocol"
---

# dk\_make\_protocol(1)

tool to generate protocol declarations from D-Bus introspection data

## NAME

dk\_make\_protocol - tool to generate protocol declarations from D-Bus introspection data

## SYNOPSIS

**dk\_make\_protocol** **-i** *interface\_file* **-o** *output\_file*\

## DESCRIPTION

**dk\_make\_protocol** parses D-Bus interface files with introspection data and generates Objective-C *@protocol* declarations.  This allows invoking methods on D-Bus objects from GNUstep application code using the DBusKit framework.

**dk\_make\_protocol** accepts the following options:

## OPTIONS

- **-i** *interface\_file*

  Expects the interface file with introspection data.

- **-o** *output\_file*

  Output file for the header with the generated *@protocol* declarations.  If this option is omitted, the generated header will be printed on the standard output.

## EXAMPLES

dk\_make\_protocol -i org.freedesktop.Foo.xml -o Foo.h

## SEE ALSO

[**GNUstep**(7)](/GNUstep/7.md).

## AUTHORS

**dk\_make\_protocol** was written by Niels Grewe \<niels.grewe@halbordnung.de\>.

This manual page was added by Yavor Doganov \<yavor@gnu.org\>.

## COPYRIGHT

Copyright © 2012 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
