~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/mf_pack.cc

  • Committer: Monty Taylor
  • Date: 2010-02-04 08:14:46 UTC
  • mfrom: (1277.2.1 build) (1280.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 1283.
  • Revision ID: mordred@inaugust.com-20100204081446-ldh9m486va30uap6
Put everything in drizzled into drizzled namespace.
Put internal stuff into drizzled::internal namespace.
Removed some cruft.
Now every symbol that is shipped in a header is in the drizzled namespace
and everything in the server that's not shipped is labeled internal. woot. 
Removed a lot of the extra extern "C" stuff that was in there. Less ugliness for
internal callbacks now for Sun Studio.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
#include "drizzled/internal/mysys_priv.h"
 
16
#include "config.h"
 
17
 
 
18
#include "drizzled/internal/my_sys.h"
17
19
 
18
20
#include <pwd.h>
19
21
 
20
22
#include "drizzled/internal/m_string.h"
21
23
#include "my_static.h"
22
24
 
 
25
namespace drizzled
 
26
{
 
27
namespace internal
 
28
{
 
29
 
23
30
static char * expand_tilde(char * *path);
24
31
static size_t system_filename(char * to, const char *from);
25
32
 
302
309
  (void) strcpy(to + to_length,from+length);
303
310
  return (to);
304
311
} /* intern_filename */
 
312
 
 
313
} /* namespace internal */
 
314
} /* namespace drizzled */