1 <html><head><meta http-equiv=
"Content-Type" content=
"text/html; charset=ISO-8859-1"><title>Part II. Samba Basics
</title><link rel=
"stylesheet" href=
"samba.css" type=
"text/css"><meta name=
"generator" content=
"DocBook XSL Stylesheets V1.70.1"><link rel=
"start" href=
"index.html" title=
"SAMBA Developers Guide"><link rel=
"up" href=
"index.html" title=
"SAMBA Developers Guide"><link rel=
"prev" href=
"ntdomain.html" title=
"Chapter 2. NT Domain RPC's"><link rel=
"next" href=
"architecture.html" title=
"Chapter 3. Samba Architecture"></head><body bgcolor=
"white" text=
"black" link=
"#0000FF" vlink=
"#840084" alink=
"#0000FF"><div class=
"navheader"><table width=
"100%" summary=
"Navigation header"><tr><th colspan=
"3" align=
"center">Part II. Samba Basics
</th></tr><tr><td width=
"20%" align=
"left"><a accesskey=
"p" href=
"ntdomain.html">Prev
</a> </td><th width=
"60%" align=
"center"> </th><td width=
"20%" align=
"right"> <a accesskey=
"n" href=
"architecture.html">Next
</a></td></tr></table><hr></div><div class=
"part" lang=
"en"><div class=
"titlepage"><div><div><h1 class=
"title"><a name=
"id2558961"></a>Part II. Samba Basics
</h1></div></div></div><div class=
"toc"><p><b>Table of Contents
</b></p><dl><dt><span class=
"chapter"><a href=
"architecture.html">3. Samba Architecture
</a></span></dt><dd><dl><dt><span class=
"sect1"><a href=
"architecture.html#id2558992">Introduction
</a></span></dt><dt><span class=
"sect1"><a href=
"architecture.html#id2559036">Multithreading and Samba
</a></span></dt><dt><span class=
"sect1"><a href=
"architecture.html#id2559068">Threading smbd
</a></span></dt><dt><span class=
"sect1"><a href=
"architecture.html#id2559130">Threading nmbd
</a></span></dt><dt><span class=
"sect1"><a href=
"architecture.html#id2559187">nbmd Design
</a></span></dt></dl></dd><dt><span class=
"chapter"><a href=
"debug.html">4. The samba DEBUG system
</a></span></dt><dd><dl><dt><span class=
"sect1"><a href=
"debug.html#id2559245">New Output Syntax
</a></span></dt><dt><span class=
"sect1"><a href=
"debug.html#id2559365">The DEBUG() Macro
</a></span></dt><dt><span class=
"sect1"><a href=
"debug.html#id2559474">The DEBUGADD() Macro
</a></span></dt><dt><span class=
"sect1"><a href=
"debug.html#id2559511">The DEBUGLVL() Macro
</a></span></dt><dt><span class=
"sect1"><a href=
"debug.html#id2559604">New Functions
</a></span></dt><dd><dl><dt><span class=
"sect2"><a href=
"debug.html#id2559610">dbgtext()
</a></span></dt><dt><span class=
"sect2"><a href=
"debug.html#id2559626">dbghdr()
</a></span></dt><dt><span class=
"sect2"><a href=
"debug.html#id2559645">format_debug_text()
</a></span></dt></dl></dd></dl></dd><dt><span class=
"chapter"><a href=
"internals.html">5. Samba Internals
</a></span></dt><dd><dl><dt><span class=
"sect1"><a href=
"internals.html#id2559700">Character Handling
</a></span></dt><dt><span class=
"sect1"><a href=
"internals.html#id2559722">The new functions
</a></span></dt><dt><span class=
"sect1"><a href=
"internals.html#id2559853">Macros in byteorder.h
</a></span></dt><dd><dl><dt><span class=
"sect2"><a href=
"internals.html#id2559864">CVAL(buf,pos)
</a></span></dt><dt><span class=
"sect2"><a href=
"internals.html#id2559875">PVAL(buf,pos)
</a></span></dt><dt><span class=
"sect2"><a href=
"internals.html#id2559886">SCVAL(buf,pos,val)
</a></span></dt><dt><span class=
"sect2"><a href=
"internals.html#id2559897">SVAL(buf,pos)
</a></span></dt><dt><span class=
"sect2"><a href=
"internals.html#id2559910">IVAL(buf,pos)
</a></span></dt><dt><span class=
"sect2"><a href=
"internals.html#id2559922">SVALS(buf,pos)
</a></span></dt><dt><span class=
"sect2"><a href=
"internals.html#id2559934">IVALS(buf,pos)
</a></span></dt><dt><span class=
"sect2"><a href=
"internals.html#id2559946">SSVAL(buf,pos,val)
</a></span></dt><dt><span class=
"sect2"><a href=
"internals.html#id2559958">SIVAL(buf,pos,val)
</a></span></dt><dt><span class=
"sect2"><a href=
"internals.html#id2559969">SSVALS(buf,pos,val)
</a></span></dt><dt><span class=
"sect2"><a href=
"internals.html#id2559981">SIVALS(buf,pos,val)
</a></span></dt><dt><span class=
"sect2"><a href=
"internals.html#id2559993">RSVAL(buf,pos)
</a></span></dt><dt><span class=
"sect2"><a href=
"internals.html#id2560005">RIVAL(buf,pos)
</a></span></dt><dt><span class=
"sect2"><a href=
"internals.html#id2560016">RSSVAL(buf,pos,val)
</a></span></dt><dt><span class=
"sect2"><a href=
"internals.html#id2560029">RSIVAL(buf,pos,val)
</a></span></dt></dl></dd><dt><span class=
"sect1"><a href=
"internals.html#id2560042">LAN Manager Samba API
</a></span></dt><dd><dl><dt><span class=
"sect2"><a href=
"internals.html#id2560070">Parameters
</a></span></dt><dt><span class=
"sect2"><a href=
"internals.html#id2560196">Return value
</a></span></dt></dl></dd><dt><span class=
"sect1"><a href=
"internals.html#id2560268">Code character table
</a></span></dt></dl></dd><dt><span class=
"chapter"><a href=
"CodingSuggestions.html">6. Coding Suggestions
</a></span></dt><dt><span class=
"chapter"><a href=
"contributing.html">7. Contributing code
</a></span></dt><dt><span class=
"chapter"><a href=
"modules.html">8. Modules
</a></span></dt><dd><dl><dt><span class=
"sect1"><a href=
"modules.html#id2560940">Advantages
</a></span></dt><dt><span class=
"sect1"><a href=
"modules.html#id2560978">Loading modules
</a></span></dt><dd><dl><dt><span class=
"sect2"><a href=
"modules.html#id2561005">Static modules
</a></span></dt><dt><span class=
"sect2"><a href=
"modules.html#id2561039">Shared modules
</a></span></dt></dl></dd><dt><span class=
"sect1"><a href=
"modules.html#id2561063">Writing modules
</a></span></dt><dd><dl><dt><span class=
"sect2"><a href=
"modules.html#id2561114">Static/Shared selection in configure.in
</a></span></dt></dl></dd></dl></dd></dl></div></div><div class=
"navfooter"><hr><table width=
"100%" summary=
"Navigation footer"><tr><td width=
"40%" align=
"left"><a accesskey=
"p" href=
"ntdomain.html">Prev
</a> </td><td width=
"20%" align=
"center"> </td><td width=
"40%" align=
"right"> <a accesskey=
"n" href=
"architecture.html">Next
</a></td></tr><tr><td width=
"40%" align=
"left" valign=
"top">Chapter
2. NT Domain RPC's
</td><td width=
"20%" align=
"center"><a accesskey=
"h" href=
"index.html">Home
</a></td><td width=
"40%" align=
"right" valign=
"top"> Chapter
3. Samba Architecture
</td></tr></table></div></body></html>