~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/current_session.h

  • 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:
21
21
#ifndef DRIZZLED_CURRENT_SESSION_H
22
22
#define DRIZZLED_CURRENT_SESSION_H
23
23
 
 
24
namespace drizzled
 
25
{
 
26
 
24
27
class Session;
25
28
 
26
 
namespace drizzled { namespace memory { class Root; } }
 
29
namespace memory { class Root; }
27
30
 
28
31
Session *_current_session(void);
29
32
#define current_session _current_session()
30
 
drizzled::memory::Root *current_mem_root(void);
 
33
memory::Root *current_mem_root(void);
 
34
 
 
35
} /* namespace drizzled */
31
36
 
32
37
#endif /* DRIZZLED_CURRENT_SESSION_H */