/usr/share/gtk-doc/html/libinstpatch/libinstpatch-IpatchDLS2Conn.html is in libinstpatch-doc 1.0.0-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>IpatchDLS2Conn</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<link rel="home" href="index.html" title="libinstpatch Reference Manual">
<link rel="up" href="ch04.html" title="DLS patches">
<link rel="prev" href="IpatchDLS2Region.html" title="IpatchDLS2Region">
<link rel="next" href="IpatchDLS2Sample.html" title="IpatchDLS2Sample">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="Base objects and functions">
<link rel="chapter" href="ch02.html" title="Utility objects and functions">
<link rel="chapter" href="ch03.html" title="Sample data objects and functions">
<link rel="chapter" href="ch04.html" title="DLS patches">
<link rel="chapter" href="ch05.html" title="SoundFont patches">
<link rel="chapter" href="ch06.html" title="GigaSampler patches">
<link rel="chapter" href="ch07.html" title="Virtual banks">
<link rel="chapter" href="object-tree.html" title="Object Hierarchy">
<link rel="index" href="api-index-full.html" title="API Index">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="IpatchDLS2Region.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch04.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinstpatch Reference Manual</th>
<td><a accesskey="n" href="IpatchDLS2Sample.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libinstpatch-IpatchDLS2Conn.synopsis" class="shortcut">Top</a>
|
<a href="#libinstpatch-IpatchDLS2Conn.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" title="IpatchDLS2Conn">
<a name="libinstpatch-IpatchDLS2Conn"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libinstpatch-IpatchDLS2Conn.top_of_page"></a>IpatchDLS2Conn</span></h2>
<p>IpatchDLS2Conn — DLS version 2 connection structures and functions</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1" title="Stability Level">
<a name="libinstpatch-IpatchDLS2Conn.stability-level"></a><h2>Stability Level</h2>
Stable, unless otherwise indicated
</div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="libinstpatch-IpatchDLS2Conn.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
>IpatchDLS2Conn</a>;
<a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2ConnInfo"
>IpatchDLS2ConnInfo</a>;
#define <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IPATCH-TYPE-DLS2-CONN--CAPS"
>IPATCH_TYPE_DLS2_CONN</a>
#define <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IPATCH-DLS2-CONN-ARE-IDENTICAL--CAPS"
>IPATCH_DLS2_CONN_ARE_IDENTICAL</a> (a, b)
enum <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2ConnSrcType"
>IpatchDLS2ConnSrcType</a>;
enum <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2ConnDestType"
>IpatchDLS2ConnDestType</a>;
#define <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IPATCH-DLS2-CONN-OUTPUT-TRANS-NONE--CAPS"
>IPATCH_DLS2_CONN_OUTPUT_TRANS_NONE</a>
enum <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2ConnTransformType"
>IpatchDLS2ConnTransformType</a>;
enum <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2ConnPolarityType"
>IpatchDLS2ConnPolarityType</a>;
enum <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2ConnTransformMasks"
>IpatchDLS2ConnTransformMasks</a>;
enum <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2ConnTransformShifts"
>IpatchDLS2ConnTransformShifts</a>;
<a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
>GType</a> <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#ipatch-dls2-conn-get-type"
>ipatch_dls2_conn_get_type</a> (void);
<a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
>IpatchDLS2Conn</a> * <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#ipatch-dls2-conn-new"
>ipatch_dls2_conn_new</a> (void);
void <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#ipatch-dls2-conn-free"
>ipatch_dls2_conn_free</a> (<a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
>IpatchDLS2Conn</a> *conn);
<a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
>IpatchDLS2Conn</a> * <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#ipatch-dls2-conn-duplicate"
>ipatch_dls2_conn_duplicate</a> (const <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
>IpatchDLS2Conn</a> *conn);
void <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#ipatch-dls2-conn-list-set"
>ipatch_dls2_conn_list_set</a> (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
>GSList</a> **list,
const <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
>IpatchDLS2Conn</a> *conn);
void <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#ipatch-dls2-conn-list-unset"
>ipatch_dls2_conn_list_unset</a> (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
>GSList</a> **list,
const <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
>IpatchDLS2Conn</a> *conn);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
>GSList</a> * <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#ipatch-dls2-conn-list-duplicate"
>ipatch_dls2_conn_list_duplicate</a> (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
>GSList</a> *list);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
>GSList</a> * <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#ipatch-dls2-conn-list-duplicate-fast"
>ipatch_dls2_conn_list_duplicate_fast</a>
(const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
>GSList</a> *list);
void <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#ipatch-dls2-conn-list-free"
>ipatch_dls2_conn_list_free</a> (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
>GSList</a> *list,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> free_conns);
</pre>
</div>
<div class="refsect1" title="Description">
<a name="libinstpatch-IpatchDLS2Conn.description"></a><h2>Description</h2>
<p>
Defines structures and functions used for DLS version 2 instrument
parameters (called connections in DLS terminology).</p>
</div>
<div class="refsect1" title="Details">
<a name="libinstpatch-IpatchDLS2Conn.details"></a><h2>Details</h2>
<div class="refsect2" title="IpatchDLS2Conn">
<a name="IpatchDLS2Conn"></a><h3>IpatchDLS2Conn</h3>
<pre class="programlisting">typedef struct {
guint16 src; /* source enum */
guint16 ctrlsrc; /* second source enum */
guint16 dest; /* destination enum */
guint16 trans; /* transform enum */
gint32 scale; /* scale value */
} IpatchDLS2Conn;
</pre>
</div>
<hr>
<div class="refsect2" title="IpatchDLS2ConnInfo">
<a name="IpatchDLS2ConnInfo"></a><h3>IpatchDLS2ConnInfo</h3>
<pre class="programlisting">typedef struct {
guint16 type; /* IpatchDLS2ConnDestType */
gint32 min; /* minimum value allowed */
gint32 max; /* maximum value allowed */
gint32 def; /* default value */
int unit; /* #IpatchUnitType type */
char *label; /* short descriptive label */
char *descr; /* more complete description */
} IpatchDLS2ConnInfo;
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_TYPE_DLS2_CONN">
<a name="IPATCH-TYPE-DLS2-CONN--CAPS"></a><h3>IPATCH_TYPE_DLS2_CONN</h3>
<pre class="programlisting">#define IPATCH_TYPE_DLS2_CONN (ipatch_dls2_conn_get_type ())
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_DLS2_CONN_ARE_IDENTICAL()">
<a name="IPATCH-DLS2-CONN-ARE-IDENTICAL--CAPS"></a><h3>IPATCH_DLS2_CONN_ARE_IDENTICAL()</h3>
<pre class="programlisting">#define IPATCH_DLS2_CONN_ARE_IDENTICAL(a, b)</pre>
</div>
<hr>
<div class="refsect2" title="enum IpatchDLS2ConnSrcType">
<a name="IpatchDLS2ConnSrcType"></a><h3>enum IpatchDLS2ConnSrcType</h3>
<pre class="programlisting">typedef enum
{
IPATCH_DLS2_CONN_SRC_NONE = 0, /* No source */
IPATCH_DLS2_CONN_SRC_LFO = 1, /* Modulation LFO */
IPATCH_DLS2_CONN_SRC_VELOCITY = 2, /* MIDI Note-On velocity */
IPATCH_DLS2_CONN_SRC_NOTE = 3, /* MIDI Note number */
IPATCH_DLS2_CONN_SRC_EG1 = 4, /* Envelope Generator 1 */
IPATCH_DLS2_CONN_SRC_EG2 = 5, /* Envelope Generator 2 */
IPATCH_DLS2_CONN_SRC_PITCH_WHEEL = 6, /* Pitch Wheel */
IPATCH_DLS2_CONN_SRC_POLY_PRESSURE = 7, /* Polyphonic pressure */
IPATCH_DLS2_CONN_SRC_CHANNEL_PRESSURE = 8, /* Channel Pressure */
IPATCH_DLS2_CONN_SRC_VIBRATO = 9, /* Vibrato LFO */
/* defined MIDI controller sources */
IPATCH_DLS2_CONN_SRC_CC1 = 0x0081, /* Modulation */
IPATCH_DLS2_CONN_SRC_CC7 = 0x0087, /* Volume */
IPATCH_DLS2_CONN_SRC_CC10 = 0x008A, /* Pan */
IPATCH_DLS2_CONN_SRC_CC11 = 0x008B, /* Expression */
IPATCH_DLS2_CONN_SRC_CC91 = 0x00DB, /* Chorus Send */
IPATCH_DLS2_CONN_SRC_CC93 = 0x00DD, /* Reverb Send */
/* MIDI registered parameter numbers */
IPATCH_DLS2_CONN_SRC_RPN0 = 0x0100, /* Pitch bend range */
IPATCH_DLS2_CONN_SRC_RPN1 = 0x0101, /* Fine tune */
IPATCH_DLS2_CONN_SRC_RPN2 = 0x0102 /* Coarse tune */
} IpatchDLS2ConnSrcType;
</pre>
</div>
<hr>
<div class="refsect2" title="enum IpatchDLS2ConnDestType">
<a name="IpatchDLS2ConnDestType"></a><h3>enum IpatchDLS2ConnDestType</h3>
<pre class="programlisting">typedef enum
{
IPATCH_DLS2_CONN_DEST_NONE = 0,
IPATCH_DLS2_CONN_DEST_GAIN = 1,
IPATCH_DLS2_CONN_DEST_RESERVED = 2,
IPATCH_DLS2_CONN_DEST_PITCH = 3,
IPATCH_DLS2_CONN_DEST_PAN = 4,
IPATCH_DLS2_CONN_DEST_NOTE = 5,
IPATCH_DLS2_CONN_DEST_LEFT = 0x0010,
IPATCH_DLS2_CONN_DEST_RIGHT = 0x0011,
IPATCH_DLS2_CONN_DEST_CENTER = 0x0012,
IPATCH_DLS2_CONN_DEST_LFE_CHANNEL = 0x0013,
IPATCH_DLS2_CONN_DEST_LEFT_REAR = 0x0014,
IPATCH_DLS2_CONN_DEST_RIGHT_REAR = 0x0015,
IPATCH_DLS2_CONN_DEST_CHORUS = 0x0080,
IPATCH_DLS2_CONN_DEST_REVERB = 0x0081,
IPATCH_DLS2_CONN_DEST_LFO_FREQ = 0x0104,
IPATCH_DLS2_CONN_DEST_LFO_DELAY = 0x0105,
IPATCH_DLS2_CONN_DEST_VIB_FREQ = 0x0114,
IPATCH_DLS2_CONN_DEST_VIB_DELAY = 0x0115,
IPATCH_DLS2_CONN_DEST_EG1_ATTACK = 0x0206,
IPATCH_DLS2_CONN_DEST_EG1_DECAY = 0x0207,
IPATCH_DLS2_CONN_DEST_EG1_RESERVED = 0x0208,
IPATCH_DLS2_CONN_DEST_EG1_RELEASE = 0x0209,
IPATCH_DLS2_CONN_DEST_EG1_SUSTAIN = 0x020A,
IPATCH_DLS2_CONN_DEST_EG1_DELAY = 0x020B,
IPATCH_DLS2_CONN_DEST_EG1_HOLD = 0x020C,
IPATCH_DLS2_CONN_DEST_EG1_SHUTDOWN = 0x020D,
IPATCH_DLS2_CONN_DEST_EG2_ATTACK = 0x030A,
IPATCH_DLS2_CONN_DEST_EG2_DECAY = 0x030B,
IPATCH_DLS2_CONN_DEST_EG2_RESERVED = 0x030C,
IPATCH_DLS2_CONN_DEST_EG2_RELEASE = 0x030D,
IPATCH_DLS2_CONN_DEST_EG2_SUSTAIN = 0x030E,
IPATCH_DLS2_CONN_DEST_EG2_DELAY = 0x030F,
IPATCH_DLS2_CONN_DEST_EG2_HOLD = 0x0310,
IPATCH_DLS2_CONN_DEST_FILTER_CUTOFF = 0x0500,
IPATCH_DLS2_CONN_DEST_FILTER_Q = 0x0501
} IpatchDLS2ConnDestType;
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_DLS2_CONN_OUTPUT_TRANS_NONE">
<a name="IPATCH-DLS2-CONN-OUTPUT-TRANS-NONE--CAPS"></a><h3>IPATCH_DLS2_CONN_OUTPUT_TRANS_NONE</h3>
<pre class="programlisting">#define IPATCH_DLS2_CONN_OUTPUT_TRANS_NONE 0
</pre>
</div>
<hr>
<div class="refsect2" title="enum IpatchDLS2ConnTransformType">
<a name="IpatchDLS2ConnTransformType"></a><h3>enum IpatchDLS2ConnTransformType</h3>
<pre class="programlisting">typedef enum
{
IPATCH_DLS2_CONN_TRANS_LINEAR = 0,
IPATCH_DLS2_CONN_TRANS_CONCAVE = 1,
IPATCH_DLS2_CONN_TRANS_CONVEX = 2,
IPATCH_DLS2_CONN_TRANS_SWITCH = 3
} IpatchDLS2ConnTransformType;
</pre>
</div>
<hr>
<div class="refsect2" title="enum IpatchDLS2ConnPolarityType">
<a name="IpatchDLS2ConnPolarityType"></a><h3>enum IpatchDLS2ConnPolarityType</h3>
<pre class="programlisting">typedef enum
{
IPATCH_DLS2_CONN_POLARITY_UNI = 0,
IPATCH_DLS2_CONN_POLARITY_BI = 1
} IpatchDLS2ConnPolarityType;
</pre>
</div>
<hr>
<div class="refsect2" title="enum IpatchDLS2ConnTransformMasks">
<a name="IpatchDLS2ConnTransformMasks"></a><h3>enum IpatchDLS2ConnTransformMasks</h3>
<pre class="programlisting">typedef enum
{
IPATCH_DLS2_CONN_MASK_OUTPUT_TRANS = 0x000F, /* Output transform mask */
IPATCH_DLS2_CONN_MASK_CTRLSRC_TRANS = 0x00F0, /* Control transform mask */
IPATCH_DLS2_CONN_MASK_CTRLSRC_POLARITY = 0x0100, /* Control polarity mask */
IPATCH_DLS2_CONN_MASK_CTRLSRC_INVERT = 0x0200, /* Control invert mask */
IPATCH_DLS2_CONN_MASK_SRC_TRANS = 0x3C00, /* Source transform mask */
IPATCH_DLS2_CONN_MASK_SRC_POLARITY = 0x4000, /* Source polarity mask */
IPATCH_DLS2_CONN_MASK_SRC_INVERT = 0x8000 /* Source invert mask */
} IpatchDLS2ConnTransformMasks;
</pre>
</div>
<hr>
<div class="refsect2" title="enum IpatchDLS2ConnTransformShifts">
<a name="IpatchDLS2ConnTransformShifts"></a><h3>enum IpatchDLS2ConnTransformShifts</h3>
<pre class="programlisting">typedef enum
{
IPATCH_DLS2_CONN_SHIFT_OUTPUT_TRANS = 0, /* Output transform shift */
IPATCH_DLS2_CONN_SHIFT_CTRLSRC_TRANS = 4, /* Control transform shift */
IPATCH_DLS2_CONN_SHIFT_CTRLSRC_POLARITY = 8, /* Control polarity shift */
IPATCH_DLS2_CONN_SHIFT_CTRLSRC_INVERT = 9, /* Control invert shift */
IPATCH_DLS2_CONN_SHIFT_SRC_TRANS = 10, /* Source transform shift */
IPATCH_DLS2_CONN_SHIFT_SRC_POLARITY = 14, /* Source polarity shift */
IPATCH_DLS2_CONN_SHIFT_SRC_INVERT = 15 /* Source invert shift */
} IpatchDLS2ConnTransformShifts;
</pre>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_conn_get_type ()">
<a name="ipatch-dls2-conn-get-type"></a><h3>ipatch_dls2_conn_get_type ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
>GType</a> ipatch_dls2_conn_get_type (void);</pre>
<p>
Get the <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
><span class="type">IpatchDLS2Conn</span></a> boxed type</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Boxed GType of the <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
><span class="type">IpatchDLS2Conn</span></a> structure
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_conn_new ()">
<a name="ipatch-dls2-conn-new"></a><h3>ipatch_dls2_conn_new ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
>IpatchDLS2Conn</a> * ipatch_dls2_conn_new (void);</pre>
<p>
Create a new connection</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> New connection
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_conn_free ()">
<a name="ipatch-dls2-conn-free"></a><h3>ipatch_dls2_conn_free ()</h3>
<pre class="programlisting">void ipatch_dls2_conn_free (<a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
>IpatchDLS2Conn</a> *conn);</pre>
<p>
Free an <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
><span class="type">IpatchDLS2Conn</span></a> structure</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>conn</code></em> :</span></p></td>
<td> Connection to free, should not be referenced by any zones.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_conn_duplicate ()">
<a name="ipatch-dls2-conn-duplicate"></a><h3>ipatch_dls2_conn_duplicate ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
>IpatchDLS2Conn</a> * ipatch_dls2_conn_duplicate (const <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
>IpatchDLS2Conn</a> *conn);</pre>
<p>
Duplicate a connection</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>conn</code></em> :</span></p></td>
<td> DLS connection to duplicate
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> New duplicate connection
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_conn_list_set ()">
<a name="ipatch-dls2-conn-list-set"></a><h3>ipatch_dls2_conn_list_set ()</h3>
<pre class="programlisting">void ipatch_dls2_conn_list_set (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
>GSList</a> **list,
const <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
>IpatchDLS2Conn</a> *conn);</pre>
<p>
Set a connection in a connection list. The connection list is searched for
any existing identical connection (same source, control and destination).
If an identical connection is found, its values are overwritten with the
new values, otherwise a new connection is added to the list and the values
copied to it.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td> Pointer to the root pointer of a connection list
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>conn</code></em> :</span></p></td>
<td> DLS connection to set in <em class="parameter"><code>list</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_conn_list_unset ()">
<a name="ipatch-dls2-conn-list-unset"></a><h3>ipatch_dls2_conn_list_unset ()</h3>
<pre class="programlisting">void ipatch_dls2_conn_list_unset (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
>GSList</a> **list,
const <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
>IpatchDLS2Conn</a> *conn);</pre>
<p>
Remove a connection from a connection list. The connection list is
searched for an identical connection to <em class="parameter"><code>conn</code></em> (same source,
control and destination). If a match is found, it is removed, otherwise
nothing. This essentially sets a connection to its default value, for
those connections which are defined.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td> Pointer to the root pointer of a connection list
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>conn</code></em> :</span></p></td>
<td> DLS connection to remove from <em class="parameter"><code>list</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_conn_list_duplicate ()">
<a name="ipatch-dls2-conn-list-duplicate"></a><h3>ipatch_dls2_conn_list_duplicate ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
>GSList</a> * ipatch_dls2_conn_list_duplicate (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
>GSList</a> *list);</pre>
<p>
Like <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#ipatch-dls2-conn-list-duplicate"
><code class="function">ipatch_dls2_conn_list_duplicate()</code></a> but optimized for speed, new list
is backwards from original.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td> GSList of <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
><span class="type">IpatchDLS2Conn</span></a> structures to duplicate
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> New duplicate connection list which should be freed with
<a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#ipatch-dls2-conn-list-free"
><code class="function">ipatch_dls2_conn_list_free()</code></a> when finished with it.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_conn_list_duplicate_fast ()">
<a name="ipatch-dls2-conn-list-duplicate-fast"></a><h3>ipatch_dls2_conn_list_duplicate_fast ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
>GSList</a> * ipatch_dls2_conn_list_duplicate_fast
(const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
>GSList</a> *list);</pre>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_conn_list_free ()">
<a name="ipatch-dls2-conn-list-free"></a><h3>ipatch_dls2_conn_list_free ()</h3>
<pre class="programlisting">void ipatch_dls2_conn_list_free (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
>GSList</a> *list,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> free_conns);</pre>
<p>
Free a list of connections</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td> Connection list to free
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>free_conns</code></em> :</span></p></td>
<td> If <code class="literal">TRUE</code> then the connections themselves are freed, <code class="literal">FALSE</code>
makes this function act just like <a
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"
><code class="function">g_slist_free()</code></a> (only the list is
freed not the connections).
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
</body>
</html>
|