\newcommand{\func}[1]{%
\index{#1@{{\tt {#1}} (funzione)}}\texttt{#1}%
}
+\newcommand{\funcd}[1]{%
+\index{#1@{{\tt {#1}} (funzione)}!definizione di}\texttt{#1}%
+}
\newcommand{\macro}[1]{%
\index{#1@{{\tt {#1}} (macro)}}\texttt{#1}%
}
\newcommand{\type}[1]{%
\index{#1@{{\tt {#1}} (tipo)}}\texttt{#1}%
} % system type
+\newcommand{\struct}[1]{%
+\index{#1@{{\tt {#1}} (struttura dati)}}\texttt{#1}%
+} % struttura dati
+\newcommand{\structd}[1]{%
+\index{#1@{{\tt {#1}} (struttura dati)}!definizione di}\texttt{#1}%
+} % struttura dati
\newcommand{\param}[1]{\texttt{#1}} % function parameter
\newcommand{\acr}[1]{\textsl{#1}} % acrostic (for pid, suid, etc.)